constant 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 drupal/modules/locale/locale.test
Tests url() when separate domains are used for multiple languages.
LocaleUILanguageNegotiationTest::testUILanguageNegotiation in drupal/modules/locale/locale.test
Tests for language switching by URL path.
locale_language_from_url in drupal/includes/locale.inc
Identify language via URL prefix or domain.
locale_language_types_info in drupal/modules/locale/locale.module
Implements hook_language_types_info().
locale_update_7001 in drupal/modules/locale/locale.install
Upgrade language negotiation settings.

File

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

Code

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