Search for all

  1. Search 9.5.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
locale_language_from_interface function includes/locale.inc Identifies the language from the current interface language.
locale_language_from_session function includes/locale.inc Identify language from a request/session parameter.
locale_language_from_url function includes/locale.inc Identify language via URL prefix or domain.
locale_language_from_user function includes/locale.inc Identify language from the user preferences.
locale_language_list function modules/locale/locale.module Returns array of language names
locale_language_name function modules/locale/locale.module Returns a language name
LOCALE_LANGUAGE_NEGOTIATION_BROWSER constant includes/locale.inc The language is set based on the browser language settings.
locale_language_negotiation_info function modules/locale/locale.module Implements hook_language_negotiation_info().
LOCALE_LANGUAGE_NEGOTIATION_INTERFACE constant includes/locale.inc The language is determined using the current interface language.
LOCALE_LANGUAGE_NEGOTIATION_SESSION constant includes/locale.inc The language is set based on the request/session parameters.
LOCALE_LANGUAGE_NEGOTIATION_URL constant includes/locale.inc The language is determined using a URL language indicator:
path prefix or domain according to the configuration.
LOCALE_LANGUAGE_NEGOTIATION_URL_DOMAIN constant includes/locale.inc URL language negotiation: use the domain as URL language
indicator.
LOCALE_LANGUAGE_NEGOTIATION_URL_FALLBACK constant includes/locale.inc If no URL language is available language is determined using an already
detected one.
LOCALE_LANGUAGE_NEGOTIATION_URL_PREFIX constant includes/locale.inc URL language negotiation: use the path prefix as URL language
indicator.
LOCALE_LANGUAGE_NEGOTIATION_USER constant includes/locale.inc The language is set based on the user language settings.
locale_language_providers_session_form function modules/locale/locale.admin.inc The URL language provider configuration form.
locale_language_providers_url_form function modules/locale/locale.admin.inc The URL language provider configuration form.
locale_language_selector_form function modules/locale/locale.module Form builder callback to display language selection widget.
locale_language_switcher_session function includes/locale.inc Return the session language switcher block.
locale_language_switcher_url function includes/locale.inc Return the URL language switcher block. Translation links may be provided by
other modules.
locale_language_types_info function modules/locale/locale.module Implements hook_language_types_info().
locale_language_url_fallback function includes/locale.inc Determines the language to be assigned to URLs when none is detected.
locale_language_url_rewrite_session function includes/locale.inc Rewrite URLs for the Session language provider.
locale_language_url_rewrite_url function includes/locale.inc Rewrite URLs for the URL language provider.
locale_library_alter function modules/locale/locale.module Implement hook_library_alter().
locale_locale function modules/locale/locale.module Implements hook_locale().
locale_menu function modules/locale/locale.module Implements hook_menu().
locale_modules_disabled function modules/locale/locale.module Implements hook_modules_disabled().
locale_modules_enabled function modules/locale/locale.module Implements hook_modules_enabled().
locale_modules_installed function modules/locale/locale.module Implements hook_modules_installed().
locale_multilingual_node_type function modules/locale/locale.module Return whether the given content type has multilingual support.
locale_permission function modules/locale/locale.module Implements hook_permission().
locale_reset function modules/locale/locale.module Reset static variables used by locale().
locale_schema function modules/locale/locale.install Implements hook_schema().
locale_string_is_safe function includes/locale.inc Check that a string is safe to be added or imported as a translation.
locale_system_update function modules/locale/locale.module Imports translations when new modules or themes are installed.
locale_test.info file modules/locale/tests/locale_test.info name = "Locale Test"
description = "Support module for the locale layer tests."
core = 7.x
package = Testing
version = VERSION
hidden = TRUE
locale_test.module file modules/locale/tests/locale_test.module Mock module for locale layer tests.
locale_test_boot function modules/locale/tests/locale_test.module Implements hook_boot().
locale_test_init function modules/locale/tests/locale_test.module Implements hook_init().
locale_test_language_negotiation_info function modules/locale/tests/locale_test.module Implements hook_language_negotiation_info().
locale_test_language_negotiation_info_alter function modules/locale/tests/locale_test.module Implements hook_language_negotiation_info_alter().
locale_test_language_provider function modules/locale/tests/locale_test.module Test language provider.
locale_test_language_types_info function modules/locale/tests/locale_test.module Implements hook_language_types_info().
locale_test_language_types_info_alter function modules/locale/tests/locale_test.module Implements hook_language_types_info_alter().
locale_test_locale function modules/locale/tests/locale_test.module Implements hook_locale().
locale_test_menu function modules/locale/tests/locale_test.module Implements hook_menu().
locale_test_plural_format_page function modules/locale/tests/locale_test.module Returns markup for locale_get_plural testing.
locale_test_store_language_negotiation function modules/locale/tests/locale_test.module Store the last negotiated languages.
locale_theme function modules/locale/locale.module Implements hook_theme().

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.