I'm using Views, Internationalization, and Views Translation, and I've made a block View with arguments that lists all the taxonomy terms if the argument is not present. (i.e. it's making a taxonomy term list that links to the page views that have the arguments).
So far, so good. Now this part of the site is bilingual, and I've translated my taxonomy terms. The problem is that (without the patch I'm about to attach), the taxonomy terms in my block view are not showing up translated to the user's current interface language.
I figured out how to fix this a while back, but realized I didn't ever file an issue with my patch... so here it is. I'll attach the patch in a comment shortly.
Comments
Comment #1
jhodgdonHere are the two changes I had to make to Views to get this to work. Patch is against current 6.2 dev branch. There may be a better way, and I realize Views might not want to include this change, but it does work...
Comment #2
dawehnerOh views doesn't support the tt() function internally.
If you need this it should be a custom handler of i18n.
Comment #3
jhodgdonOK. I guess it should be part of Internationalization Views then, and Internationalization Views should have the correct taxonomy handlers?
Comment #4
jhodgdonChanging component -- you don't seem to have a Component defined for the Views sub-module.
Comment #5
dawehnerThis seems the be the right project.
Comment #6
jhodgdonActually, this seems to be a duplicate of either #530354: When grouping a view on taxonomy term, term is not translated or #845616: i18n taxonomy: translating standard Views taxonomy term field or both.