constant LOCALE_LANGUAGE_NEGOTIATION_URL

The language is determined using a URL language indicator: path prefix or domain according to the configuration.

7 uses of LOCALE_LANGUAGE_NEGOTIATION_URL
LocaleMultilingualFieldsFunctionalTest::testMultilingualNodeForm in drupal-7.x/modules/locale/locale.test
Test if field languages are correctly set through the node form.
LocaleUILanguageNegotiationTest::testLanguageDomain in drupal-7.x/modules/locale/locale.test
Tests url() when separate domains are used for multiple languages.
LocaleUILanguageNegotiationTest::testUILanguageNegotiation in drupal-7.x/modules/locale/locale.test
Tests for language switching by URL path.
locale_language_from_url in drupal-7.x/includes/locale.inc
Identify language via URL prefix or domain.
locale_language_negotiation_info in drupal-7.x/modules/locale/locale.module
Implements hook_language_negotiation_info().

... See full list

File

drupal-7.x/includes/locale.inc, line 12
Administration functions for locale.module.

Code

define('LOCALE_LANGUAGE_NEGOTIATION_URL', 'locale-url')