carlxaeron / django-rosetta

Automatically exported from code.google.com/p/django-rosetta
MIT License
0 stars 0 forks source link

rosetta ignores multiple plural forms #42

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
if you have multiple plural forms, you can't translate them using rosetta.

Number of plural forms are declared using
Plural-Forms: nplurals=3;

Original issue reported on code.google.com by janusz.harkot@gmail.com on 22 Feb 2009 at 7:32

GoogleCodeExporter commented 8 years ago
I see your point. A sample PO file in a locale featuring multiple plural forms 
to test with would help alot.

Original comment by mbonetti on 22 Feb 2009 at 7:40

GoogleCodeExporter commented 8 years ago
here you go.
this is example from polish language, where you have 3 plural forms

Original comment by janusz.harkot@gmail.com on 22 Feb 2009 at 7:49

Attachments:

GoogleCodeExporter commented 8 years ago
I just tested your po file and it correctly displayed three textareas. Please 
try and
reload your file. Also, which version of Rosetta are you using?

Original comment by mbonetti on 24 Feb 2009 at 12:29

GoogleCodeExporter commented 8 years ago
Edit: here is how you should verify:

# Make sure your po file's header contains the plural forms count and 
expression.
# re-run manage.py makemessages -a
# reload the translation in Rosetta

This worked for me.

Original comment by mbonetti on 24 Feb 2009 at 1:32

GoogleCodeExporter commented 8 years ago
Resolving as WFM because of lack of feedback from reporter. Feel free to reopen.

Original comment by mbonetti on 27 Mar 2009 at 6:57