[issue8502] proposal: encourage xgettext rather than pygettext.py in gettext docs

jhg report at bugs.python.org
Sat Jun 12 06:26:52 CEST 2010


jhg <jhg at upb.de> added the comment:

Since the GNU tools work fine I had no reason to look into pygettext.py.
Now I did it anyway...

I added ngettext to the default keywords.
Any function that is keyworded and supplied more than 2 keywords is treated like ngettext.
Also simple constructs like _("foo" + 10*"bar") are now possible.

Patch attached.

----------
Added file: http://bugs.python.org/file17639/pygettext.py.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8502>
_______________________________________


More information about the Python-bugs-list mailing list