Difference between revisions of "Location of template language files"
From Joomla! Documentation
m (Omit references when transcluded.)
m (Hutchy68 moved page Location of template language definition files to J1.5:Location of template language definition files: namespacing)
|(2 intermediate revisions by one other user not shown)|
|Line 22:||Line 22:|
Revision as of 19:40, 10 May 2013
Language definition files for front-end templates are stored in
where [ln-LN] is the language code. Language codes are defined in RFC3066 The file must be named
where [template-name] is the name of the template (in lowercase). For example, the British English language file for the Beez template is
You should also create a separate language file for translating the Administrator back-end of your template. This will be stored in
but the file naming convention is the same.
For administrator templates, as distinct from front-end templates, the second of these files is the only one required. For example, the British English language file for the Khepri administrator template is located in
- RFC3066: Tags for the Identification of Languages http://www.ietf.org/rfc/rfc3066.txt