[Openstack-i18n] Wrong plural formula for russian

Alex Eng aeng at redhat.com
Thu Mar 10 20:36:15 UTC 2016


Hi,

If we fix the plural forms in pot file and push to Zanata, that would not
affect the statistics.

But I remember last time when we trying to fix this, there are some
limitation of the pluralform wont update after the file is being uploaded
once to Zanata. And we have to create a new version with fixed pot file and
use "merge translation" feature to bring over all the translations.

We can do the same thing again and the statistics won't be affected.
(copied translation doesn't count in as contribution)

I checked and Zanata has the correct form.

nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 &&
(n%100<10 || n%100>=20) ? 1 : 2)


---------------------------------------------

Alex Eng
Senior Software Engineer
Globalisation Tools Engineering
DID: +61 3514 8262 <callto:+61+3514+8262>
Mobile: +614 2335 3457 <callto:+614+2335+3457>

Red Hat, Asia-Pacific Pty Ltd
Level 1, 193 North Quay
Brisbane 4000
Office: +61 7 3514 8100 <callto:+61+7+3514+8100>
Fax: +61 7 3514 8199 <callto:+61+7+3514+8199>
Website: www.redhat.com

On Fri, Mar 11, 2016 at 3:00 AM, Ilya Alekseyev <ilyaalekseyev at acm.org>
wrote:

> Daisy,
>
> i remember we fixed this for Liberty. But looks like somewhere wrong
> config or error in script that creating master version.
> How ca we fix it? How i can help with this issue?
>
> Alex, is it possible to fix plural formula ofr version and keep statistics
> safe?
>
> We need to fix it as soon as possible, because 4 plural forms making
> issues for russian translation (empty message, empty buttons, etc, as we
> can seee in Kilo release).
>
> Kind regards,
> Ilya Alekseyev.
>
> С уважением,
> Илья Алексеев
>
> Russian OpenStack Community
>
> 2016-03-10 19:37 GMT+03:00 Akihiro Motoki <amotoki at gmail.com>:
>
>> Russian translations in the horizon repo is downloaded from Zanata,
>> OpenStack translation platform.
>> It seems Zanata has wrong plural configuration.
>>
>> > Daisy, Alex,
>> Could you check Russian configuration in Zanata is correct?
>>
>> 2016-03-10 22:42 GMT+09:00 Ilya Alekseyev <ilyaalekseyev at acm.org>:
>> > Dear collegues,
>> >
>> > i've checked current russian translation in horizon repository and find
>> out
>> > that we have wrong plural formula in upstream.
>> >
>> >
>> https://github.com/openstack/horizon/blob/master/openstack_dashboard/locale/ru/LC_MESSAGES/django.po#L35-L37
>> >
>> > There is only 3 plural forms in Russian.
>> > And correct formula should be
>> > nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 &&
>> > (n%100<10 || n%100>=20) ? 1 : 2);
>> >
>> > Looks like some script is wrong.
>> > Does anybody know how to fix it?
>> >
>> > Kind regards,
>> > Ilya Alekseyev
>> >
>> > _______________________________________________
>> > Openstack-i18n mailing list
>> > Openstack-i18n at lists.openstack.org
>> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
>> >
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-i18n/attachments/20160311/5fdd34fe/attachment.html>


More information about the Openstack-i18n mailing list