LOCALE_LANGUAGE_NEGOTIATION_URL_DOMAIN
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
Code
define('LOCALE_LANGUAGE_NEGOTIATION_URL_DOMAIN', 1);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.