Language
Joomla 1.5.X name framework also adds language support for templates and almost everything else.
Please note: The Joomla Template Kit 3.X does not officially support language ini files at this time. It's not a needed file in order for your Joomla template to work.
If you have notice that the "beez" template has code inside that looks like the code below.

The JText code holds text than can have different translations by adding a template language ini file.
In this case its the file below. en-GB.tpl_beez.ini
The language is ID "en-GB" language type the second part in the "tpl_" for template language and the third part is the template "beez" plus its ini extension.
The ini file format is a variable name on a single line with a equal sign "=" text message. Example: ADDITIONAL INFORMATION=Additional Information BIGGER=bigger etc.
The location is inside the Joomla root install "language" folder and the language "en-GB" it belongs to. Now when packaging the language file it needs to be in the template that your designing root folder YourTemplateName/en-GB.tpl_YourTemplateName.ini
There also needs to be a entry into the templateDetails.xml file like this. <languages> <language tag="en-GB">en-GB.tpl_YourTemplateName.ini</language> </languages>
Please note:The XML details wizard does not support this at this time. If you write it in by hand it will get overwritten on update. You need to put it in last when your template is ready for packaging.
|