constant LOCALE_LANGUAGE_NEGOTIATION_URL in Drupal 7
The language is determined using a URL language indicator: path prefix or domain according to the configuration.
5 uses of LOCALE_LANGUAGE_NEGOTIATION_URL
- LocaleUILanguageNegotiationTest::testLanguageDomain in modules/
locale/ locale.test - Tests url() when separate domains are used for multiple languages.
- LocaleUILanguageNegotiationTest::testUILanguageNegotiation in modules/
locale/ locale.test - Tests for language switching by URL path.
- locale_language_from_url in includes/
locale.inc - Identify language via URL prefix or domain.
- locale_language_types_info in modules/
locale/ locale.module - Implements hook_language_types_info().
- locale_update_7001 in modules/
locale/ locale.install - Upgrade language negotiation settings.
File
- includes/
locale.inc, line 12 - Administration functions for locale.module.
Code
define('LOCALE_LANGUAGE_NEGOTIATION_URL', 'locale-url');