locale_language_from_interface

Versions
mediamosa-21
locale_language_from_interface()

Identifies the language from the current interface language.

Return value

The current interface language code.

Related topics

Code

includes/locale.inc, line 48

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