CodeIgniter Forums
multilanguage - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: multilanguage (/showthread.php?tid=22261)



multilanguage - El Forum - 09-02-2009

[eluser]cmark[/eluser]
Hi there! im building a multilanguage site, and im looking for a table, or big array, or wtv... with this information:

Code:
[lang code] [language name in the language] [language (im not care about this one) ]

ekz:

Code:
[es-ar] [EspaƱol (Argentina)] [Spanish (Argentina) ]
[en-us] [English ,,,

Please, if you have something like this, I thank : )


multilanguage - El Forum - 09-03-2009

[eluser]nEJC[/eluser]
Hope this helps:

ISO 639 is the set of international standards that lists short codes for language names.
http://en.wikipedia.org/wiki/ISO_639

English country names and code elements
http://www.iso.org/iso/english_country_names_and_code_elements


multilanguage - El Forum - 09-03-2009

[eluser]Skuja[/eluser]
here is a data compilation for most of locales. data is stored in xml, so you could easily write a script to pull out language names in native locale as well as other usefull information such as date formats and currencies.


multilanguage - El Forum - 09-03-2009

[eluser]cmark[/eluser]
a lot of thanks : D