2009/2/10 Paul Winkler <sli...@gmail.com>:
> 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?

Well, I didn't dig that too deeply, but I guess newer zope.i18n allows
us to merge translation catalogs for one domain and they have
predictable priority over each other, based on registration order
(though that could be developed to give user more control over catalog
priorities). So I think it's possible to override some msgids if you
do that carefully. :-)

WBR, Dan Korostelev
Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to