Hi everyone,
in my project, I am generating my .po files like this:
python manage.py makemessages --ignore=node_modules/* --ignore=*migrations/* --ignore=*tests/* --ignore=__init__.py --ignore=submodules/* --ignore=fabfile* -l zh_CN
Usually this results in the following line being added to my `django.po` file:
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
When this line is in the file and when I switch the language to Chinese, I will get this error:
ValueError at /zh-cn/
plural forms expression could be dangerous
When I delete that line and run `./manage.py compilemessages`, everything seems to work fine, but this is obviously can't be a good solution and would mess up my deployment workflow quite a bit.
So my question is: Why does this line pop up in my .po file? What if I change that expression to something valid, would it be overwritten with that same faulty expression again when I run makemessages? What would a correct expression look like for Chinese?
Best regards,
Martin