Forum Archive - Which language is chosen now?

Which language is chosen now?
Feb 3, 2012 2:33 pm by Onuphriy
Hi. I have some modules in Joomla which always show in original language because they show by the javascript. I can change in this javascript code string `var lang="ru"` to `var lang="en"` but how could I know which language is chosen by the user? Is there come global variable in php code which can get the chosen langueage? Thanks. Sorry for my weak English.
Re: Which language is chosen now?
Feb 3, 2012 2:47 pm by Yana
Hi, You can read this: url-language-code-t320.html Which will enable you to access the selected language from _GET parameter.

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