Comment to 'Language Translation - Is this a mistake in Russian module ?'
  • .. Now I understood what that file does. For others who are coming here -

    The en.xml file is required for every language if you want to display the module name inside Studio. If you don't provide this, it will just display whatever string you have entered inside the install.sql (for example "_boonex_ru_wgt_cpt " instead of Russian)

    Now few more questions related to Language :

    1. Is it possible to automatically switch based on browser settings ?
    2. And should I keep the language module inside the "installation_directory/module" folder ? Will this get overwrriten by automatic update done through UNA ?
    3. Is there any other path outside the installation where I can keep the language / module so it does not get deleted during an update ? I have installed UNA using Softaculous. This I assume might delete the whole module folder during an update.
      1. Yes, it is the one from the steps to use the proper language. Only the user's choice has higher priority.
      2. Yes, it will if the module contains the some upgraded parts. As usually, you need to have the actual backup before the upgrade.
      3. It's better to download your module locally because the UNA upgrade is sensitive to the non-usual files in the whole UNA's directory. I mean if you will have the file zm.php in the root of UNA - the upgrade will notice that.