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