LOCALE_LANGUAGE_NEGOTIATION_URL
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
Code
define('LOCALE_LANGUAGE_NEGOTIATION_URL', 'locale-url');
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.