references:joomla.framework:document:jdocument-getlanggetLang
Gets the language of the current document. Syntaxstring getLang () ExamplesThis example displays the language code for the current document. Example global $mainframe; $document = &JFactory::getDocument(); echo "Language: " . $document->getLang(); Might produce: Result Language: en |


