Best practices about where to translate strings


#1

Hello,

I use components and i18n and I would like to have your opinion about where to do the translations: component’s template or route’s template?

Me, I try to translate all my strings in route’s template. I therefore directly pass the translated strings to my components (and not the i18n key). So my components are independant of i18n mechanism…

And you?