i18n Translation and Views: Header/Footer
tkrebs - October 13, 2006 - 19:35
I'm using views to make a list of nodes, filtering by the language chosen with i18n. This works great!
But I also want to translate the View's Header and Footer, the text that appears before and after the list. Right now I can't figure out anyway to do this besides creating a separate view.
I'm having this same problem with some of the other modules as well, for instance the contact form. Translation works fine on the form labels, but I don't know how to translate the instructions in the form header.
Can anyone think how to do this? Thanks

t() function
Hi tkrebs, probably your problem is based on the fact that views has not considered to use the t() function to use l10n (localization module) to translate those elements. I've found that on the title of blocks created by views.module on 4.7 and I already found that on the 4.6 version. Look on the code on the parts that create those header and footer elements and add that function.
More info
You'll find a deeper discussion on that thread: 64004.
so, whats the recommended
so, whats the recommended way to do this?
t($view->page_header) doesn't work