diff -ur -F'^f' drupal-4.7.1/includes/common.inc drupal/includes/common.inc
--- drupal-4.7.1/includes/common.inc	2006-05-15 22:53:26.000000000 +0200
+++ drupal/includes/common.inc	2006-05-29 13:43:24.673755400 +0200
@@ -1346,7 +1346,9 @@ function _drupal_bootstrap_full() {
   // Undo magic quotes
   fix_gpc_magic();
   // Initialize the localization system.
-  $locale = locale_initialize();
+  if (!isset($locale)) {
+    $locale = locale_initialize();
+  }
 }
 
 /**
diff -ur -F'^f' drupal-4.7.1/modules/locale.module drupal/modules/locale.module
--- drupal-4.7.1/modules/locale.module	2006-03-17 19:35:56.000000000 +0100
+++ drupal/modules/locale.module	2006-05-29 13:52:58.141617700 +0200
@@ -176,6 +176,10 @@ function locale($string) {
 
   // Store database cached translations in a static var.
   if (!isset($locale_t)) {
+    // Initialize the localization system.
+    if (!isset($locale)) {
+      $locale = locale_initialize();
+    }
     $cache = cache_get("locale:$locale");
 
     if ($cache == 0) {
