#26123: Wrong Plural-Froms value in the 'ru' locale (regression from version 
1.8.x)
--------------------------------------+--------------------
     Reporter:  generalov             |      Owner:  nobody
         Type:  Bug                   |     Status:  new
    Component:  Internationalization  |    Version:  1.9
     Severity:  Normal                |   Keywords:
 Triage Stage:  Unreviewed            |  Has patch:  0
Easy pickings:  0                     |      UI/UX:  0
--------------------------------------+--------------------
 There are 3 plural forms in the Russian language.
 http://localization-guide.readthedocs.org/en/latest/l10n/pluralforms.html

 {{{
 "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 &&
 n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
 }}}


 Django 1.9.1 locale catalog contains wrong Plural-Forms value:

 {{{
 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 &&
 n"
 "%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) ||
 (n"
 }}}
 
https://github.com/django/django/blob/0c37bae189b41f3fd89dc10265750c78c91d90ca/django/conf/locale/ru/LC_MESSAGES/django.po#L27

 The `manage.py makemessages` management command copies this value to the
 new *.po files and makes them wrong.

 This bug is present in the core Django translations files too. For example
 
https://github.com/django/django/blob/273ce8aa6ae8a7404f5a9cd08f5e2753f1aa9368/django/contrib/admin/locale/ru/LC_MESSAGES/django.po#L22

 This is looks like a regression because a previous Django-1.8.x had the
 right `Plural-Forms` value
 
https://github.com/django/django/blob/stable/1.8.x/django/conf/locale/ru/LC_MESSAGES/django.po#L27

--
Ticket URL: <https://code.djangoproject.com/ticket/26123>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.d62a5c77c31cfedc49fe1f015e304cfe%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to