You are here

constant LOCALE_LANGUAGE_NEGOTIATION_URL_DOMAIN in Drupal 7

URL language negotiation: use the domain as URL language indicator.

5 uses of LOCALE_LANGUAGE_NEGOTIATION_URL_DOMAIN
LocaleUILanguageNegotiationTest::testUILanguageNegotiation in modules/locale/locale.test
Tests for language switching by URL path.
LocaleUrlRewritingTest::testDomainNameNegotiationPort in modules/locale/locale.test
Check URL rewriting when using a domain name and a non-standard port.
locale_language_from_url in includes/locale.inc
Identify language via URL prefix or domain.
locale_language_url_rewrite_url in includes/locale.inc
Rewrite URLs for the URL language provider.
locale_update_7001 in modules/locale/locale.install
Upgrade language negotiation settings.

File

includes/locale.inc, line 97
Administration functions for locale.module.

Code

define('LOCALE_LANGUAGE_NEGOTIATION_URL_DOMAIN', 1);