Roger Ineichen | 1 May 2008 23:23
Picon

AW: Re: New i18n locale extraction concept

Hi Christian

> Betreff: [Zope-dev] Re: New i18n locale extraction concept

[...]

> > My goal is to remove the dependencies in the 
> z3c.recipe.i18n, because 
> > right now it uses the base implementation in zope.app.locales which 
> > makes it depend on the hole zope namepsace. Because of the overall 
> > zope.* dependenc in zope.app.locale.
> 
> Actually, there is lovely.receipe:i18n which provides i18n 
> extraction. 
> Does z3c.recipe.i18n something else or why is there yet 
> another i18n recipe?

Yes, I was using this recipe but it only works if the locales is
a part of a package. It's not possible to extract translations
from different packages into a own locales package.

Note:
the -d option use a path in the original i8nextract.py
my new version uses egg or develop externals package as
-d option. And allows to extract from different packages
into a single *.locales package.  

> > The best option whould be to split zope.app.locales
> > into usefull packages. The not so good optipon whould
> > be to copy over the relevant classes and scripts to
(Continue reading)


Gmane