[New-bugs-announce] [issue5464] msgfmt.py does not work with plural form

Stephen George report at bugs.python.org
Mon Mar 9 22:47:10 CET 2009

New submission from Stephen George <steve_geo at optusnet.com.au>:

It seems that C:\Python26\Tools\i18n\msgfmt.py does not work with PO
files that use plural form. Get the following error.
ERROR    Traceback (most recent call last):
  File "C:\Python26\Tools\i18n\msgfmt.py", line 203, in <module>
  File "C:\Python26\Tools\i18n\msgfmt.py", line 199, in main
    make(filename, outfile)
  File "C:\Python26\Tools\i18n\msgfmt.py", line 151, in make
    l = eval(l)
  File "<string>", line 1
    _plural "%d generations"
SyntaxError: invalid syntax

components: Demos and Tools
files: de.po
message_count: 1.0
messages: 83407
nosy: steve_geo
nosy_count: 1.0
severity: normal
status: open
title: msgfmt.py does not work with plural form
type: behavior
versions: Python 2.6
Added file: http://bugs.python.org/file13289/de.po

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list