Go to the source code of this file.
Functions | |
language_initialize () | |
language_from_browser () | |
language_url_rewrite (&$path, &$options) |
Definition in file language.inc.
language_from_browser | ( | ) |
Identify language from the Accept-language HTTP header we got.
Definition at line 72 of file language.inc.
References language_list().
Referenced by language_initialize().
language_initialize | ( | ) |
Choose a language for the page, based on language negotiation settings.
Definition at line 12 of file language.inc.
References language, language_default(), language_from_browser(), language_list(), and variable_get().
Referenced by drupal_init_language().
language_url_rewrite | ( | &$ | path, | |
&$ | options | |||
) |
Rewrite URL's with language based prefix. Parameters are the same as those of the url() function.
Definition at line 105 of file language.inc.
References language, language_default(), and variable_get().
Referenced by url().