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_providers_url_form in modules/locale/locale.admin.inc
The URL language provider configuration form.
locale_language_url_rewrite_url in includes/locale.inc
Rewrite URLs for the URL language provider.

File

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

Code

define('LOCALE_LANGUAGE_NEGOTIATION_URL_DOMAIN', 1);