there is currently one i18n ZCML directive for registering translations:

<i18n:registerTranslations directory="locales" />

it uses filenames (LC_MESSAGES/en/mydomain.po) to determine the domain name (here: 'mydomain').

this is OK for most use cases because packages manage their own domain, but there is a case which I don't know how to solve, i.e. when a package is supposed to register translations into another package's translation domain?.

what is the solution? add an option in i18n:registerTranslations? such as:

<i18n:registerTranslations directory="locales" domain="mydomain" />

and let the ZCML handler update existing catalogs?

Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to