function locale_language_from_interface

7.x locale.inc locale_language_from_interface()

Identifies the language from the current interface language.

Return value

The current interface language code.

Related topics

1 string reference to 'locale_language_from_interface'

File

drupal-7.x/includes/locale.inc, line 114
Administration functions for locale.module.

Code

function locale_language_from_interface() {
  global $language;
  return isset($language->language) ? $language->language : FALSE;
}