1 locale.inc | locale_language_from_interface() |
Identifies the language from the current interface language.
Return value
The current interface language code.:
Related topics
File
- core/
includes/ locale.inc, line 113 - Administration functions for locale.module.
Code
function locale_language_from_interface() {
global $language;
return isset($language->langcode) ? $language->langcode : FALSE;
}