JHelper::getCurrentLanguage
Gets the current language
Signature
public function getCurrentLanguage([boolean
$detectBrowser = true] )
Parameters
-
$detectBrowser
- Flag indicating whether to use the browser language as a fallback.
Returns
- string
- The language string