constant LANGUAGE_NEGOTIATION_PATH
Path based negotiation with fallback to user preferences and browser language detection if no defined path prefix identified.
4 uses of LANGUAGE_NEGOTIATION_PATH
- language_initialize in drupal-6.x/
includes/ language.inc - Choose a language for the page, based on language negotiation settings.
- language_url_rewrite in drupal-6.x/
includes/ language.inc - Rewrite URL's with language based prefix. Parameters are the same as those of the url() function.
- locale_languages_configure_form in drupal-6.x/
includes/ locale.inc - Setting for language negotiation options
- locale_user in drupal-6.x/
modules/ locale/ locale.module - Implementation of hook_user().
File
- drupal-6.x/
includes/ bootstrap.inc, line 198 - Functions that need to be loaded on every Drupal request.
Code
define('LANGUAGE_NEGOTIATION_PATH', 2)