#30939: Upgrading Django from 2.1 to 2.2 - strings are not translated
-------------------------------------+-------------------------------------
Reporter: אורי | Owner: nobody
Type: Uncategorized | Status: closed
Component: | Version: 2.2
Internationalization |
Severity: Normal | Resolution: duplicate
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Claude Paroz):
* status: new => closed
* component: Uncategorized => Internationalization
* resolution: => duplicate
Comment:
I guess this is due to the fact Transifex uses now a different Plural
equation for Hebrew.
Used to be the simple `Plural-Forms: nplurals=2; plural=(n != 1);`, now it
is:
`Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 &&
n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;"`
I'm sorry for that change, but we unfortunately have no way AFAIK to
change that ourselves on Transifex.
As Django is currently using the core translations plural equations for
all catalogs, you have to ensure that all catalogs are using 4 plural
variants (which I recognize might be not easy to do for third-party
packages).
Duplicate of #30439, which have discussions on possible fixes in Django.
--
Ticket URL: <https://code.djangoproject.com/ticket/30939#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/069.6c0885a65a82e195f125c7c6b57152d0%40djangoproject.com.