--- tagadelic.module (saved version) +++ (current document) @@ -191,6 +191,9 @@ foreach ($node->tags as $vid => $terms) { $vocabulary = taxonomy_vocabulary_load($vid); $title = l($vocabulary->name, "tagadelic/chunk/$vid"); + if (module_exists("i18ntaxonomy")) { + i18ntaxonomy_localize_terms($terms); + } $items = array(); foreach ($terms as $term) { $items[] = l($term->name, taxonomy_term_path($term), array('attributes' => array('title' => t('view all posts tagged with "@tag"', array('@tag' => $term->name))))); @@ -305,6 +308,9 @@ * @ingroup themable */ function theme_tagadelic_weighted($terms) { + if (module_exists("i18ntaxonomy")) { + i18ntaxonomy_localize_terms($terms); + } $output = ''; foreach ($terms as $term) { $output .= l($term->name, taxonomy_term_path($term), array('attributes' => array('class' => "tagadelic level$term->weight", 'rel' => 'tag'))) ." \n";