Hello,

After importing a po file (generated with extractor.php), I got the following error:


The translation file contains an error: the plural formula could not be parsed.

Then I changed in the header:

nplurals=INTEGER to nplurals=1 and
plural=EXPRESSION to plural=0

After that, I don't get the error anymore, but I have no idea what I did, could somebody explain or point me to the relevant pages?

Thanks,

Q.

Comments

artem_sokolov’s picture

This may be of some help.

drupaceous’s picture

Thanks a lot!

dwaynebailey’s picture

This list of Gettext plural forms should help you find the correct setting for your language.