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