Forum Archive - Select your language in ... your language (Solved)

Select your language in ... your language (Solved)
Aug 19, 2011 11:11 pm by [email protected]
We are getting there .... We think norvegian people might not know how to write the name of their language in english. So i tried to edit the file default.php to translate all the names of the languages into their own language like this: $lang_array = array('ar'=>'العربية','bg'=>'български','zh-CN'=>'中文(简体)','zh-TW'=>'中國(繁體)','hr'=>'hrvatski','cs'=>'České','da'=>'danske','nl'=>'Nederlands','fi'=>'Suomi ','de'=>'Deutsch','el'=>'Ελληνικά','hi'=>'हिंदी ','it'=>'Italiano','ja'=>'日本語','ko'=>'한국어','no'=>'Norske ','pl'=>'Polski ........ It works except for the flags that don't follow the new "alphabetic" order Is there a way to synchronize the 2 ?
Re: Select your language in ... your language
Aug 20, 2011 12:30 am by [email protected]
Of course not the complet list. See below...
Re: Select your language in ... your language
Aug 24, 2011 8:41 pm by Edvard
It is sorting the language array in alphabetical order and then maps the language flags, so I would suggest to have language name in English - language name in original language. ex. array('ar'=>'Arabic - العربية', ...
Re: Select your language in ... your language (Solved)
Aug 25, 2011 1:56 pm by [email protected]
Thank you Edvard N.B. Only works with pro version installed...

SIMILAR TOPICS

Large numbers of crawl errors with double language codeJan 24, 2019 1:43 amReplies: 1Post by: natastna2
Translate website to any specific language, on page loadJan 19, 2019 6:49 amReplies: 1Post by: Leaon7756
Graphic translation for every language is missingDec 19, 2018 7:54 amReplies: 1Post by: Daryl Dixon
How to remove mobile Language Select Button transparencyDec 5, 2018 10:06 pmReplies: 10Post by: JeffTR
Change language automaticallyNov 26, 2018 9:29 pmReplies: 3Post by: Antilb

Try GTranslate with a free 15 day trial