J1.5

How to create a language pack: Difference between revisions

From Joomla! Documentation

Elin (talk | contribs)
No edit summary
Elin (talk | contribs)
No edit summary
Line 6: Line 6:
For practical information on the way to make core Translation files, please see forum: http://forum.joomla.org/viewtopic.php?f=11&t=254709
For practical information on the way to make core Translation files, please see forum: http://forum.joomla.org/viewtopic.php?f=11&t=254709


Many people find it helpful to use the [[http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,1776/Itemid,35/ | translation manager extension]].
Many people find it helpful to use the [http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,1776/Itemid,35/ translation manager extension].


Language naming convention in Joomla are
Language naming convention in Joomla are  
language and ISO code. Use 2 letters when available. [http://www.loc.gov/standards/iso639-2/php/code_list.php The list is available here.]


language and ISO code. Use 2 letters when available.
[http://www.iso.org/iso/country_codes/iso_3166_code_lists/english_country_names_and_code_elements.htm  This reference concerns country codes]
[[http://www.loc.gov/standards/iso639-2/php/code_list.php]]


Reference concerning country codes
Because language strings may change it is best to create your packages using either [http://developer.joomla.org/code.html  the nightly build or subversion].
[[http://www.iso.org/iso/country_codes/iso_3166_code_lists/english_country_names_and_code_elements.htm]]


Because language strings may change it is best to create your packages using either [[http://developer.joomla.org/code.html | the nightly build or subversion]].
Name of package should be: xx-XX //using your language's ISO code.
 
Name of package should be:
xx-XX //use your language's ISO code.


Locale:
Locale:
Information on available locales may be found here. [[http://forum.joomla.org/viewtopic.php?t=25077]]
[http://forum.joomla.org/viewtopic.php?t=25077 Information on available locales may be found here.]


If, for any reason, some ini or xml  language files are edited manually with a text editor, they have to be saved with the encoding UTF8 NO BOM.
If, for any reason, ini or xml  language files are edited manually with a text editor, they have to be saved with the encoding UTF8 NO BOM.

Revision as of 13:49, 27 June 2008

If someone has some time, please transfer/rewrite the information from the following reference into this page. Thank you.

Joomla! uses three language packages, one for the front end, one for the administrator and one for installation.

For practical information on the way to make core Translation files, please see forum: http://forum.joomla.org/viewtopic.php?f=11&t=254709

Many people find it helpful to use the translation manager extension.

Language naming convention in Joomla are language and ISO code. Use 2 letters when available. The list is available here.

This reference concerns country codes

Because language strings may change it is best to create your packages using either the nightly build or subversion.

Name of package should be: xx-XX //using your language's ISO code.

Locale: Information on available locales may be found here.

If, for any reason, ini or xml language files are edited manually with a text editor, they have to be saved with the encoding UTF8 NO BOM.