diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index fd0ae33..ace4892 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -2274,6 +2274,7 @@ function get_t() { * Initialize all the defined language types. */ function drupal_language_initialize() { + global $language; $types = language_types(); // Ensure the language is correctly returned, even without multilanguage @@ -2293,6 +2294,9 @@ function drupal_language_initialize() { // environments. bootstrap_invoke_all('language_init'); } + + // Send appropriate HTTP-Header for browsers and search engines. + header('Content-Language: ' . $language->language); } /**