make messages should copy the plural rules from the django po files
|Reported by:||Owned by:||Ramiro Morales|
|Cc:||patrick.lauber@…||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I think it would make the hole process for newbies much more easier if the plural rule from the django .po file from the same language would be copied over. I just found out about this rule after using django for more than a year. We always thought that the po files where corrupt or something but it actually was the missing plural rule that got a django and gettext exception after they where compiled to .mo files. Only if you didn't translate the plural messages it worked. The exception that gets thrown is not helpfull either but is a gettext problem.
.po-file editors like po-edit, gted, django-rosetta all can't handle files with missing plural rules and plural-messages. They crash or produce corrupt .mo files. And looks like it is a problem of the editor and not that of the .po file
If the auto copy of the plural rule from the django core .po file is to much work, please be sure to mention the problem in the documentation.