--- taxonomy.module.copyme	2007-03-28 05:46:16.410602500 +0200
+++ taxonomy.module	2007-03-28 06:18:37.617541700 +0200
@@ -469,6 +469,11 @@ function taxonomy_get_vocabularies($type
     $vocabularies[$key]->tags = $container->tags;
     $vocabularies[$key]->name = $container->title;
     $vocabularies[$key]->nodes = $container->nodes;
+  
+    // Localizer
+    if (function_exists('tobject')) {
+      $vocabularies[$key] = tobject('taxonomy_vocabulary', $vocabularies[$key]->vid, $vocabularies[$key]);
+    }
   }
 
   return $vocabularies;
@@ -1043,6 +1048,11 @@ function _taxonomy_category_into_term($c
   $term->description = $category->description;
   $term->weight = $category->weight;
 
+  // Localizer
+  if (function_exists('tobject')) {
+    $term = tobject('taxonomy_term', $term->tid, $term);
+  }
+  
   return $term;
 }
 
