| What is a translation package? |
|
|
| Articles - Translation process |
| Written by Ivo Apostolov |
| Monday, 16 June 2008 20:24 |
|
If you are new to Joomla!, you might not be really aware what is a language package. This article has the purpose to explain the difference between translation of Joomla! and a translation package. Joomla! is a software, that comes with certain pre-defined language strings, that are stored in ini files under the directories languages and administrator/languages. These predefined strings include static texts that are used in the system in various views. Examples of such strings include:
These strings are used in the Joomla! php files and after that actual term is mapped to the definition in the ini files. The standard Joomla! installation comes with pre-installed English language package. You can download language packages for different languages in our translations section and install these with the standard Joomla! extensions installer. Be aware that without using a special extension, you can not use more than one language in the site at the same time. You can select the language package you want to apply to your site and administration as default from the Joomla! menu – Extensions -> Languages. The most common wrong assumptions that arise for new users, when using a language package are the following: Issue: Menu items are not translated Solution: Menu items names are stored in the database and not in the language packages. You can change these easily from the Joomla! administration, Menu -> Menu Name (name of the specific menu, where the menu item is placed). There you need to click on the menu item and just change the name. Be aware that changing the alias may cause you problems, if you are using search engine friendly URLs, which is an option in the Joomla! configuration. Alias names should be in English only (using English letters). Issue: Module names are not translated Solution: Similar to the menu items, the modules names are not stored in the language packs, but in the database. You can change these easily from the Joomla! administration, Extensions -> Modules and there you just click on the selected module and change its title. You should differentiate between the language packages (standard expressions in certain language) and the content of your web site. While the first is installable as package of ini files, the second is stored in the database and translatable from the Joomla! administration. |
| Last Updated ( Tuesday, 17 June 2008 19:24 ) |