diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index 4dad33a..a675cb0 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -2191,6 +2191,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 @@ -2210,6 +2211,10 @@ function drupal_language_initialize() { // environments. bootstrap_invoke_all('language_init'); } + + // Send appropriate HTTP-Header for browsers and search engines. + header('Content-Language: '.$language->language); + } /**