Comments

funature’s picture

I also need this!

jed_bh’s picture

Issue summary: View changes

I had the same issue. My categories were not being translated after being localized in the taxonomy vocabulary for user points. Looked for any strings for translation without any luck.

I looked at user points.module and concluded that userpoints_get_categories() is passing plain titles so I replaced this bit:

$options[$term->tid] = $term->name;

with these bits:

if (module_exists('i18n_taxonomy')){
            $translated_term = i18n_taxonomy_localize_terms($term);
            $options[$term->tid] = $translated_term->name;
          }else{
            $options[$term->tid] = $term->name;
          }
Triumphent’s picture

Works for me. Thanks!