[Zope-dev] Translations for zope packages.
Dan Korostelev
nadako at gmail.com
Mon Feb 9 20:09:23 EST 2009
Nowadays, when we have a fully egg-based setup, the translations in
the zope.app.locales package make no sense anymore as it's very hard
to maintain them and it just wrong (to me at least) to have a separate
centralized translations package for a hundred of eggs.
The zope.i18n >= 3.5.0 have a feature of merging multiple message
catalogs registered for the same domain. So we have two options here:
a) Continue use the "zope" translation domain for all packages and
make each package provide own message catalog to be merged into "zope"
domain.
b) Make every package provide its own translation domain. So say
zope.container will have and register its own domain named
"zope.container".
Either option is fine with me, however b) helps to avoid msgid
clashes, whle a) allows us to reuse msgids.
I'd like to hear community opinion on that and after we decide which
option to choose I volunteer to migrate current zope.app.locales
translations to every egg that have msgids, previously translated by
zope.app.locales. However, that's kinda pain in the ass and I'll
gladly accept any help on that. :-)
--
WBR, Dan Korostelev
More information about the Zope-Dev
mailing list