The language is determined using a URL language indicator: path prefix or domain according to the configuration.
6 uses of LOCALE_LANGUAGE_NEGOTIATION_URL
- LocaleMultilingualFieldsFunctionalTest::testMultilingualNodeForm in modules/
locale/ locale.test - Test if field languages are correctly set through the node form.
- 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_negotiation_info in modules/
locale/ locale.module - Implements hook_language_negotiation_info().
File
- includes/
locale.inc, line 12 - Administration functions for locale.module.
Code
define('LOCALE_LANGUAGE_NEGOTIATION_URL', 'locale-url');