Implements hook_language_types_info().
Defines the three core language types:
function locale_language_types_info() {
require_once DRUPAL_ROOT . '/includes/locale.inc';
return array(
LANGUAGE_TYPE_INTERFACE => array(
'name' => t('User interface text'),
'description' => t('Order of language detection methods for user interface text. If a translation of user interface text is available in the detected language, it will be displayed.'),
),
LANGUAGE_TYPE_CONTENT => array(
'name' => t('Content'),
'description' => t('Order of language detection methods for content. If a version of content is available in the detected language, it will be displayed.'),
'fixed' => array(
LOCALE_LANGUAGE_NEGOTIATION_INTERFACE,
),
),
LANGUAGE_TYPE_URL => array(
'fixed' => array(
LOCALE_LANGUAGE_NEGOTIATION_URL,
LOCALE_LANGUAGE_NEGOTIATION_URL_FALLBACK,
),
),
);
}