Reputation: 592
Is there a way to translate Plone Subjects/Keywords?
I already tried .po translations, but this does not work?
Any ideas?
Thanks in advance
Upvotes: 0
Views: 81
Reputation: 7819
You can probably use translations in a .po file (use the "plone" domain) but you need to customize all templates that display keywords (view, edit, ...) wrapping the raw text rendering into a i18n:translate=""
TALES expression.
For exampple, for the display you need to customize this: https://github.com/plone/plone.app.layout/blob/da9d5077668d3bab502ea0f585fdae5c753956f0/plone/app/layout/viewlets/keywords.pt#L15
You can probably perform a lot of this stuff simply using z3c.jbot.
Upvotes: 2