6. Language management

The application supports at the moment various languages. The language files are located under {joomla_instalaltation}/administrator/components/com_jclassifiedsmanager/language directory. Each language is located in its own directory. For one language it is required at least 2 files:

  • The translation for the menu - de-DE.com_jclassifiedsmanager.sys.ini
  • The translations of the texts - de-DE.com_jclassifiedsmanager.ini

This is an example for the German Language. You can modify the translation as you need. You just have to pay attention to preserve the value located in front of equal (“=”) sign. This value represents the id and it should not be changed. Also please make sure you close the quotes and leave no characters outside of the quotes. This will result in the language not being displayed and English loaded as default. Notice: on a reinstallation of the component all custom modifications will be overwritten. In order to preserve your changes you have to modify the component’s archive. You can copy/overwrite the new files into the archive. You can also backup your changes and copy them after the reinstall.

6.1. Add new language

To add a new language you have to create a new directory named after the language code and the code of the country. (Ex en-GB, de-DE, it-IT, fr-FR). Also the naming of the files has to start with the same code. Ex: en-GB.com_jclassifiedsmanager.ini The component will detect automatically the new language. No other settings are required.The second step is to copy one existing file with the texts ids and to change/replace the translation. Important: For the languages that contain diacritics the encoding of language files has to be UTF8 without BOOM.

6.2. Delete language

To delete a language you just have to delete the directory of the specific language