Hi all,

I have two files with equal strings to translate, in the first file
with "trans" and in the second file with "blocktrans" and a plural form:

a.html:
{% trans 'My string' %}

b.html:
{% blocktrans count counter=mylist|length %}My string{% plural %}My
strings{% endblocktrans %}

and when I run "django-admin.py makemessages -l de" I get

django.po
#: templates/a.html:108
#: templates/b.html:3
msgid "My string"
msgstr ""

and not as I'd expect

django.po
#: templates/a.html:108
#: templates/b.html:3
msgid "My string"
msgid_plural "My strings"
msgstr[0] ""
msgstr[1] ""

I can reproduce this for similar structures in other files.
"blocktrans" strings that don't have "trans" equivalents in other
files correctly produce entries with plural forms in the .po file.
What's going wrong here?

Any help would be greatly appreciated,

Andre

-- 
You received this message because you are subscribed to the Google Groups 
"Django internationalization and localization" group.
To post to this group, send email to django-i18n@googlegroups.com.
To unsubscribe from this group, send email to 
django-i18n+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-i18n?hl=en.

Reply via email to