Implements hook_language_types_info().
Defines the three core language types:
function language_language_types_info() {
language_negotiation_include();
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(
LANGUAGE_NEGOTIATION_INTERFACE,
),
),
LANGUAGE_TYPE_URL => array(
'fixed' => array(
LANGUAGE_NEGOTIATION_URL,
LANGUAGE_NEGOTIATION_URL_FALLBACK,
),
),
);
}