diff --git a/taxonomy/hansel_taxonomy.module b/taxonomy/hansel_taxonomy.module index c2b3e360591f17da11e5b78f3123b2c55806da45..bbe5042da3613024f60218c3969fbee2dcaf7e3a 100644 --- a/taxonomy/hansel_taxonomy.module +++ b/taxonomy/hansel_taxonomy.module @@ -46,6 +46,9 @@ function hansel_taxonomy_action_add_term_path_get_crumbs($arguments) { } if ($term = taxonomy_term_load($tid)) { $parents = taxonomy_get_parents_all($term->tid); + if (function_exists('i18n_taxonomy_localize_terms')) { + $parents = i18n_taxonomy_localize_terms($parents); + } foreach ($parents as $term) { $links[] = array( 'title' => $term->name, @@ -90,6 +93,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,