Localized Taxonomy terms in a View Localized taxonomy terms are not displayed in a View. Only the default language term is shown. I solved this issue writing a small module according to this article.

Perfect. But in one View i have two fields: term ID and Global PHP code. My question is: what needs to be changed in the Global PHP code below to have the localized terms displayed?

$term = taxonomy_term_load($data-&gt;tid);
//print l($term-&gt;name,"voices", array('query' =&gt; array('type' =&gt; $term-&gt;tid)));
print l($term-&gt;name,"voices", array('query' =&gt; array('f[0]' =&gt; 'field_production_type_:'.$term-&gt;tid), 'attributes' =&gt; array('class' =&gt; array($term-&gt;name))));

/*
  $url = drupal_get_path_alias('taxonomy/term/'. $term-&gt;tid);
  $url_part = explode('/', $url);
  print l($term-&gt;name ,"voices/voiceovers/".$url_part[1], array('attributes' =&gt; array('class' =&gt; array($term-&gt;name))));
*/
From the question details provided, I'm not sure if the i18nviews module is enabled (make sure it is).

Probably the best option might be to use i18n_taxonomy_term_get_translation as explained also in the questions:


How to get the translated term name by tid?.
how to get the translated taxonomy term programmatically?


Something else you may want to try to get the terms translated, is to use the setting (for Translation mode) Translate. Different terms will be allowed for each language and they can be translated (instead of 'Localize'). This setting can be found within admin/structure/taxonomy/&lt;YourTaxonomy&gt;/edit.