[Zope3-dev] Re: i18n scripts
Marcus J. Ertl
marcus.ertl at larp-welt.de
Fri Jan 9 07:35:23 EST 2004
Am Fri, 09 Jan 2004 07:23:04 -0500 schrieb Stephan Richter:
Hi!
> Read also:
> http://dev.zope.org/Zope3/I18nAndL10nInComponents
> Step 4 explains in detail the extract.py tool and how to use it.
I love yoour cookbook, it is a great help, but this text about i18n
perhabs has some small bugs.
1.) The extract.py doesn't seem to work anymore, it's just a definition of
clases. Instead of
python2.3 ZOPE3/src/zope/app/translation_files/extract.py \
-d messageboard -p ./ -o ./locales
i found
python2.3 ZOPE3/i18nextract.py ...
work fine for me!
2.) size = _(size) doesn't did any good thing for me. As Phillipp von
Weitershausen told me, I have to use something like:
size = _('${relies} replies')
instead!
Bye
Marcus
More information about the Zope3-dev
mailing list