Django 3.2 had the correct plural forms:
msgstr[0] “%d año”
msgstr[1] “%d años”
I am now im process of upgrading Django to 4.2 and some tests started failing in spanish, because now all forms of “año” are plural:
msgstr[0] “%(num)d años”
msgstr[1] “%(num)d años”
msgstr[2] “%(num)d años”
This results in “1 year” being translated to “1 años” instead of the correct form “1 año”.
Relevant place in .po file: