Get the current site language name of the given language code If the site is multilingual, return empty If no given code, return the language name of the default language code
Parameters | |||
---|---|---|---|
string
|
$lang = '' |
The language code (optional - if not provided, the default language code from $lc_defaultLang will be used) |
# |
Returns | |
---|---|
string
|
The language name as per defined in /inc/config.php |