$language |
global |
documentation/developer/globals.php |
An object containing the information for the active interface language. |
language.inc |
file |
drupal/includes/language.inc |
Language Negotiation API. |
LANGUAGE_LTR |
constant |
drupal/includes/bootstrap.inc |
Language written left to right. Possible value of $language->direction. |
LANGUAGE_RTL |
constant |
drupal/includes/bootstrap.inc |
Language written right to left. Possible value of $language->direction. |
language_list |
function |
drupal/includes/bootstrap.inc |
Returns a list of installed languages, indexed by the specified key. |
$language_url |
global |
documentation/developer/globals.php |
An object containing the information for the active URL language. |
LANGUAGE_NONE |
constant |
drupal/includes/bootstrap.inc |
The language code used when no language is explicitly assigned. |
language_types |
function |
drupal/includes/bootstrap.inc |
Returns an array of the available language types. |
field_language |
function |
drupal/modules/field/field.multilingual.inc |
Returns the display language for the fields attached to the given entity. |
entity_language |
function |
drupal/includes/common.inc |
Returns the language of an entity. |
language.api.php |
file |
drupal/modules/system/language.api.php |
Hooks provided by the base system for language support. |
language_default |
function |
drupal/includes/bootstrap.inc |
Returns the default language, as an object, or one of its properties. |
$language_content |
global |
documentation/developer/globals.php |
An object containing the information for the active content language. |
LANGUAGE_TYPE_URL |
constant |
drupal/includes/bootstrap.inc |
The type of language used for URLs. |
hook_language_init |
function |
drupal/modules/system/language.api.php |
Allows modules to act after language initialization has been performed. |
Field Language API |
group |
drupal/modules/field/field.multilingual.inc |
Handling of multilingual fields. |
language_types_set |
function |
drupal/includes/language.inc |
Updates the language type configuration. |
locale_add_language |
function |
drupal/includes/locale.inc |
API function to add a language. |
language_types_info |
function |
drupal/includes/language.inc |
Returns all the defined language types. |
language_initialize |
function |
drupal/includes/language.inc |
Chooses a language based on language negotiation provider settings. |
field_valid_language |
function |
drupal/modules/field/field.multilingual.inc |
Ensures that a given language code is valid. |
PathLanguageTestCase |
class |
drupal/modules/path/path.test |
Tests URL aliases for translated nodes. |
locale_language_name |
function |
drupal/modules/locale/locale.module |
Returns a language name |
locale_language_list |
function |
drupal/modules/locale/locale.module |
Returns array of language names |
Language addition API |
group |
drupal/includes/locale.inc |
Add a language. |
drupal_language_types |
function |
drupal/includes/bootstrap.inc |
Returns a list of the built-in language types. |
language_from_default |
function |
drupal/includes/language.inc |
Returns the default language negotiation provider. |
LANGUAGE_TYPE_CONTENT |
constant |
drupal/includes/bootstrap.inc |
The type of language used to define the content language. |
SearchLanguageTestCase |
class |
drupal/modules/search/search.test |
Test node search with multiple languages. |
language_types_disable |
function |
drupal/includes/language.inc |
Disables the given language types. |
PathLanguageUITestCase |
class |
drupal/modules/path/path.test |
Tests the user interface for creating path aliases, with languages. |
user_preferred_language |
function |
drupal/modules/user/user.module |
Get the language object preferred by the user. This user preference can
be set on the user account editing page, and is only available if there
are more than one languages enabled on the site. If the user did not
choose a preferred language, or is the… |
field_content_languages |
function |
drupal/modules/field/field.multilingual.inc |
Returns available content languages. |
LANGUAGE_TYPE_INTERFACE |
constant |
drupal/includes/bootstrap.inc |
The type of language used to select the user interface. |
locale_language_from_url |
function |
drupal/includes/locale.inc |
Identify language via URL prefix or domain. |
locale_batch_by_language |
function |
drupal/includes/locale.inc |
Prepare a batch to import translations for all enabled
modules in a given language. |
hook_language_types_info |
function |
drupal/modules/system/language.api.php |
Define language types. |
language_negotiation_get |
function |
drupal/includes/language.inc |
Checks whether a language negotiation provider is enabled for a language type. |
language_negotiation_set |
function |
drupal/includes/language.inc |
Saves a list of language negotiation providers. |
language_provider_invoke |
function |
drupal/includes/language.inc |
Helper function used to cache the language negotiation providers results. |
language_provider_weight |
function |
drupal/includes/language.inc |
Returns the passed language negotiation provider weight or a default value. |
locale_language_from_user |
function |
drupal/includes/locale.inc |
Identify language from the user preferences. |
hook_field_language_alter |
function |
drupal/modules/field/field.api.php |
Perform alterations on field_language() values. |
field_available_languages |
function |
drupal/modules/field/field.multilingual.inc |
Collects the available languages for the given entity type and field. |
language_negotiation_info |
function |
drupal/includes/language.inc |
Returns all the defined language negotiation providers. |
language_url_split_prefix |
function |
drupal/includes/language.inc |
Splits the given path into prefix and actual path. |
DRUPAL_BOOTSTRAP_LANGUAGE |
constant |
drupal/includes/bootstrap.inc |
Seventh bootstrap phase: find out language of the page. |
drupal_language_initialize |
function |
drupal/includes/bootstrap.inc |
Initializes all the defined language types. |
_field_language_suggestion |
function |
drupal/modules/field/field.multilingual.inc |
Process the given language suggestion based on the available languages. |
language_negotiation_purge |
function |
drupal/includes/language.inc |
Removes any unused language negotiation providers from the configuration. |