[Zope-dev] Lazy translation domains

Malthe Borch mborch at gmail.com
Wed Oct 10 09:28:51 UTC 2012


In 2008, the `zope_i18n_allowed_languages` environment setting was
introduced to limit the languages for which a message catalog is
loaded when you register translations using the "registerTranslation"
ZCML directive, and to be able to negotiate a list from a list of
available languages.

This branch implements a fallback mechanism where:

1) the allowed languages are determined at runtime.
2) translation domains are lazy, and load message catalogs only when required.

http://svn.zope.org/zope.i18n/branches/lazy-tds/

\malthe


More information about the Zope-Dev mailing list