--- taxonomy_facets.module	2009-01-10 18:57:56.000000000 +0200
+++ taxonomy_facets.module	2009-02-15 23:31:16.000000000 +0200
@@ -166,6 +166,10 @@ function taxonomy_facets_faceted_search_
                 break; // Term is not a child of the previous term in path
               }
             }
+            //Localize term names
+            if (module_exists('i18ntaxonomy'))
+              $term = i18ntaxonomy_localize_terms($term);
+            }
             // Add category to current path.
             if ($vocabularies[$term->vid]->hierarchy) {
               // TODO: Fix potential problem if parents of the first tid have been omitted from $tids
@@ -197,6 +201,10 @@ function taxonomy_facets_faceted_search_
             $path = array();
             // Retrieve ancestor terms.
             while ($term) {
+              //Localize term names
+              if (module_exists('i18ntaxonomy')) {
+                $term = i18ntaxonomy_localize_terms($term);
+              }
               if ($vocabularies[$vid]->hierarchy) {
                 $category = new taxonomy_facet_hierarchical_category($term->tid, $term->name);
               }
@@ -381,6 +389,12 @@ class taxonomy_facet extends faceted_sea
   function build_categories($results) {
     $categories = array();
     while ($result = db_fetch_object($results)) {
+      // Localize term name
+      if (module_exists('i18ntaxonomy')) {
+        $term = array(taxonomy_get_term($result->term_data_tid));
+        $term = i18ntaxonomy_localize_terms($term);
+        $result->term_data_name = $term[0]->name;
+      }
       if ($this->_vocabulary->hierarchy) {
         $categories[] = new taxonomy_facet_hierarchical_category($result->term_data_tid, $result->term_data_name, $result->count);
       }
