Plural translations

This PR adds the possibility to use plural in translations.
Supersedes #3967