If a auto generated django.po file contains the following line in its header
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
"manage.py runserver" raises
gettext.py", line 93, in c2py
raise ValueError, 'plural forms expression could be dangerous'
ValueError: plural forms expression could be dangerous
If i remove the line everything works. What does the header mean? Why is it somtimes generated (for example localisation of the haystack app)? What das the error message mean?
It means that your translator forgot to fill it in properly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With