detect current language of joomla using gtranslate
Posted: Mon May 17, 2010 4:52 am
Hello
I am using gtranslate for joomla site and i have to convert site in arabic .So for this m using gtranslate and when arabic is selected i want to use RTL css file.I tried $lang = &JFactory::getLanguage(); to detect current language but this is showing default language of joomla.If anybody can tell me solution to detect arabic language so that i can use rtl style sheet on that language that will be very helpfull,I m trying from 3 days but no solution found.Please please help me.
Thanks
I am using gtranslate for joomla site and i have to convert site in arabic .So for this m using gtranslate and when arabic is selected i want to use RTL css file.I tried $lang = &JFactory::getLanguage(); to detect current language but this is showing default language of joomla.If anybody can tell me solution to detect arabic language so that i can use rtl style sheet on that language that will be very helpfull,I m trying from 3 days but no solution found.Please please help me.
Thanks