Hi Diego,
May I request your expertise on this question? Would you be able to
answer Rafał's question?
Claude
Le 27. 04. 17 à 19:17, Rafał P. a écrit :
Thanks Claude and Maciej.
So I guess the rule Transifex uses for Polish is wrong; in the .po file
downloaded from there it is:
|
Plural-Forms:nplurals=4;plural=(n==1?0:(n%10>=2&&n%10<=4)&&(n%100<12||n%100>=14)?1:n!=1&&(n%10>=0&&n%10<=1)||(n%10>=5&&n%10<=9)||(n%100>=12&&n%100<=14)?2:3);
|
notice "(n%100<12 || n%100>=14)"
-
http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html
states
that for 'few' the rule is
|
v =0and
i %10=2..4and
i %100!=12..14
|
Seems like an 'off-by-one' mistake for me. Any idea where should I file
a bug report about that?
W dniu czwartek, 27 kwietnia 2017 13:23:58 UTC+2 użytkownik Maciek Olko
napisał:
Hello,
Relevant on Transifex:
https://www.transifex.com/django/django/translate/#pl/core/12374783
<https://www.transifex.com/django/django/translate/#pl/core/12374783> .
Rules to figure out which one is to be corrected:
https://github.com/django/django/commit/96ec72e298cd359648e1cf408d3c506ee3b1f297#diff-1f70fc8fac8bc7919babacddb8222445R41
<https://github.com/django/django/commit/96ec72e298cd359648e1cf408d3c506ee3b1f297#diff-1f70fc8fac8bc7919babacddb8222445R41>
.
Regards,
Maciej
czw., 27 kwi 2017 o 09:05 użytkownik Claude Paroz
<cla...@2xlibre.net <javascript:>> napisał:
Le 26. 04. 17 à 21:03, Rafał P. a écrit :
> Hello,
> encountered this bug in timesince() - the result is '14
minuty' or '14
> godziny' instead of 'minut' / 'godzin'. Please see
> https://code.djangoproject.com/ticket/28136
<https://code.djangoproject.com/ticket/28136> for additional
information.
> Tried to find anything relevant on Transifex, but with no luck.
Hey Rafał,
Transifex changed plural rules for Polish recently. Read for
example:
https://github.com/mumble-voip/mumble/issues/2854
<https://github.com/mumble-voip/mumble/issues/2854>
https://wl.widelands.org/forum/topic/2814/?page=1
<https://wl.widelands.org/forum/topic/2814/?page=1>
I know some translators are not happy with that, but we have no
other
choice as users of that platform.
I think Polish translators should now review all plural strings for
Django. Inform us when you are done and we'll update the
translations in
a further 1.11.x Django release.
Claude
--
www.2xlibre.net <http://www.2xlibre.net>
--
You received this message because you are subscribed to the Google Groups "Django
internationalization and localization" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-i18n+unsubscr...@googlegroups.com.
To post to this group, send email to django-i18n@googlegroups.com.
Visit this group at https://groups.google.com/group/django-i18n.
For more options, visit https://groups.google.com/d/optout.