[Zope] ZCatalog in different languages
Oleg Broytmann
Oleg Broytmann <phd@phd.pp.ru>
Thu, 13 Sep 2001 14:08:13 +0400
On Thu, Sep 13, 2001 at 11:55:55AM +0200, Jerome Alet wrote:
> > Of course, this will work only for one language per site (Zope
> > installation).
>
> How difficult would it be to make it SiteRoot dependent ?
>
> Each SiteRoot object would have a "locale" field to fill in the creation
> form, an empty field meaning take the locale from the -L option.
Near to impossible. Locale code in "modern" OSes is not thread safe, so
you cannot incorporate it into Zope. You will need to write your own
thread-safe locales.
Oleg.
----
Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.