The Joomla! Forum ™






Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Sat Feb 07, 2009 11:49 am 
Joomla! Explorer
Joomla! Explorer

Joined: Mon Dec 15, 2008 11:10 am
Posts: 336
I see that for my installed english and norwegian the related codes are:

en-GB for english
nb-NO for Norwegian bokmaal

Where does joomla get these codes from (for the format above using xx-XX )?
Where can I find a list of all language codes currently supported by Joomla?

Is there anywhere within Joomla directory structure or in database any link between
a language code (in the format above) and related browser language codes?

Regards


Top
 Profile  
 
PostPosted: Sat Feb 07, 2009 12:12 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Thu Aug 18, 2005 9:58 am
Posts: 10014
Location: Hillerød - Denmark
Hi bongobongo,

bongobongo wrote:
Where does joomla get these codes from (for the format above using xx-XX )?

The language naming convention in joomla! [xx-XX] is made of [iso639 language code]-[iso3166 country code]
More info about language packs here: http://docs.joomla.org/How_to_create_a_language_pack
bongobongo wrote:
Where can I find a list of all language codes currently supported by Joomla?

Joomla! 1.5 actually support any language. To find currently available language packs from Joomla! Translation Teams you can visit this page:
http://community.joomla.org/translations.html
bongobongo wrote:
Is there anywhere within Joomla directory structure or in database any link between
a language code (in the format above) and related browser language codes?

In all the language packs the xml contain a list of locales of the given language, and will automatically chose the first one available at the server that host the website. The webpage will tell your browser that x site is presented in xx-XX language.

_________________
Ole Bang Ottosen
redCOMPONENT Community Manager http://redcomponent.com
Personligt site www.ot2sen.dk
Dansk Joomla! support websted - joomla.dk


Top
 Profile  
 
PostPosted: Sat Feb 07, 2009 2:53 pm 
Joomla! Explorer
Joomla! Explorer

Joined: Mon Dec 15, 2008 11:10 am
Posts: 336
Thanks a lot for that reply.

Very informative!

One last question:

Do you know where I can get a list of all the xx-XX codes that Joomla uses today?

Is this the best I can use:
http://joomlacode.org/gf/project/jtrans ... _order=asc

Or is there a list somewhere else that is better to use?

Regards


Top
 Profile  
 
PostPosted: Sat Feb 07, 2009 5:12 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Thu Aug 18, 2005 9:58 am
Posts: 10014
Location: Hillerød - Denmark
bongobongo wrote:
Thanks a lot for that reply.
Do you know where I can get a list of all the xx-XX codes that Joomla uses today?

Its not that joomla use a predefined list. New language packs show up each week and its so to speak an ever growing list.

Maybe you could explain what you are trying to accomplish? :)

_________________
Ole Bang Ottosen
redCOMPONENT Community Manager http://redcomponent.com
Personligt site www.ot2sen.dk
Dansk Joomla! support websted - joomla.dk


Top
 Profile  
 
PostPosted: Mon Feb 09, 2009 6:45 am 
User avatar
I've been banned!

Joined: Sun Feb 08, 2009 9:39 am
Posts: 16
Sen is right... Each time I care to look I find a new Indian language... Same applies to others...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 



Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group