[Zope-dev] Translations for zope packages.

Paul Winkler slinkp at gmail.com
Tue Feb 10 12:30:16 EST 2009


On Tue, Feb 10, 2009 at 01:54:54PM +0100, Martijn Faassen wrote:
> In my mind, the Zope framework should offer facilities to support 
> translating applications. These applications can be composed out of more 
> than a single package, and we want to support the translation memory 
> usecase for that. If the Zope framework defines messages itself itself, 
> it should offer a way for an application that exposes them to have 
> translations as well.

IMO it must also be possible for an application integrator to install
a package that selectively overrides the default translations.  How
can that be done?

At TOPP, when we used Plone 2 and PTS, we had a hack that allowed us
to do this, see
eg. https://svn.openplans.org/svn/sputnik/branches/0.9.8/sputnik/zinit.py
This allowed us to provide some different (english) translations for
the same message ids on two websites (openplans.org and
livablestreets.com), just by having the sputnik package installed on
one site.

So far, I've been unable to find a way to accomplish the same thing
with the zope 3 i18n infrastructure, which is blocking us from moving
to plone 3 on the site that needs the overrides. Is this even
possible?

-- 

Paul Winkler
http://www.slinkp.com


More information about the Zope-Dev mailing list