kkreft
5/9/2014 - 10:11 AM

J! getLang

$lang = JFactory::getLanguage();
echo 'Current language is: ' . $lang->getTag(); // pl-PL
echo 'Current language is: ' . $lang->getName();