diff --git a/taxonomy/hansel_taxonomy.module b/taxonomy/hansel_taxonomy.module index a9ab845..a4ae7c8 100644 --- a/taxonomy/hansel_taxonomy.module +++ b/taxonomy/hansel_taxonomy.module @@ -1,4 +1,4 @@ -tid); + if (function_exists('i18n_taxonomy_localize_terms')) { + $parents = i18n_taxonomy_localize_terms($parents); + } foreach ($parents as $term) { $links[] = array( 'title' => $term->name, @@ -86,6 +89,9 @@ function hansel_taxonomy_action_add_term_path_get_crumbs($arguments) { 'href' => 'taxonomy/term/' . $term->tid, ); $parents = taxonomy_get_parents_all($term->tid); + if (function_exists('i18n_taxonomy_localize_terms')) { + $parents = i18n_taxonomy_localize_terms($parents); + } foreach ($parents as $parent) { $link[$parent->tid] = array( 'title' => $parent->name,