Wrong plural formula for russian
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/... 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
Hi, Ilya I think we had fixed this problem before. I don't know why it comes again. The previous step we used to fix is described in a mail [1]. But I'm worried that the contribution statistic data will be not lost after making versions and copy. Best regards Ying Chun Guo (Daisy) [1] http://lists.openstack.org/pipermail/openstack-i18n/2015-September/001479.ht... Ilya Alekseyev <ilyaalekseyev@acm.org> wrote on 03/10/2016 09:42:05 PM:
From: Ilya Alekseyev <ilyaalekseyev@acm.org> To: "openstack-i18n@lists.openstack.org" <openstack-i18n@lists.openstack.org> Date: 03/10/2016 09:43 PM Subject: [Openstack-i18n] Wrong plural formula for russian
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@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
Daisy, Was the fix applied to the master version too? I think we first need to figure out the reason. If the uploaded POT file affects plural configuration, I can help you as Horizon team. 2016-03-11 1:35 GMT+09:00 Ying Chun Guo <guoyingc@cn.ibm.com>:
Hi, Ilya
I think we had fixed this problem before. I don't know why it comes again.
The previous step we used to fix is described in a mail [1]. But I'm worried that the contribution statistic data will be not lost after making versions and copy.
Best regards Ying Chun Guo (Daisy)
[1] http://lists.openstack.org/pipermail/openstack-i18n/2015-September/001479.ht...
Ilya Alekseyev <ilyaalekseyev@acm.org> wrote on 03/10/2016 09:42:05 PM:
From: Ilya Alekseyev <ilyaalekseyev@acm.org> To: "openstack-i18n@lists.openstack.org" <openstack-i18n@lists.openstack.org> Date: 03/10/2016 09:43 PM Subject: [Openstack-i18n] Wrong plural formula for russian
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@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
_______________________________________________ Openstack-i18n mailing list Openstack-i18n@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
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@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/...
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@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
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@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@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/...
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@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
Akihiro, wonder if there is a correlation with POT file. Looks like there is nothing special for specific langiage. By the way, as soon as we have regression with this issue mey be it is possible to add some kind of checks to scripts that uploading translations to repository? Kind regards, Ilya Alekseyev. 2016-03-10 20:00 GMT+03:00 Ilya Alekseyev <ilyaalekseyev@acm.org>:
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@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@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/...
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@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
Hi Ilya, Ah.. sorry. I would like to say PO file. I found [1] and if it is true now, num plurals in PO file controls the number of plurals in Zanata, so I wonder you can fix the problem by yourself. The following is my investigation result: I checked some Russian resources on Zanata. The num plurals are: - 4 for horizon, django-openstack-auth, nova - 3 for murano-dashboard, sahara-dashboard, magnum This shows the default value of Zanata looks find. It seems resources with num plurals == 4 were migrated from Transifex. As far as I checked, the number of plural in Russian PO file are changed from 3 to 4 in commit [2]. [2] happens on 4 May 2015. It was an import from Transifex. I guess num-plurals of Russian horizon translations were overridden when we imported Russian translations from Transifex. Akihiro [1] https://www.redhat.com/archives/zanata-users/2014-July/msg00023.html [2] https://github.com/openstack/horizon/commit/a94d3d21397e641644b23409e588e5a5... 2016-03-11 2:11 GMT+09:00 Ilya Alekseyev <ilyaalekseyev@acm.org>:
Akihiro,
wonder if there is a correlation with POT file. Looks like there is nothing special for specific langiage.
By the way, as soon as we have regression with this issue mey be it is possible to add some kind of checks to scripts that uploading translations to repository?
Kind regards, Ilya Alekseyev.
2016-03-10 20:00 GMT+03:00 Ilya Alekseyev <ilyaalekseyev@acm.org>:
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@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@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/...
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@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
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@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@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@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/...
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@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
Correction: its russian po file And we were not using the "merge translation" feature. I think Daisy did a pull of all Russian translations from Zanata, correct the pluralforms and upload to the new version. --------------------------------------------- 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 6:36 AM, Alex Eng <aeng@redhat.com> wrote:
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@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@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@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/...
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@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
Thank you for the investigation, Akihiro and Alex. Below are the steps we previously used. We can follow the same steps, just changing "stable" version to "master" version. I think the statistic data will not be affected in step 1 to 5. But, if we delete master-old, the contribution data in master-old will be removed. So my suggestion is to do the same steps, and keep master-old version (mark it as readonly) till 6 month or 12 month later when the contribution data is not that important.
1. Create Russian translation files with only the correct header and the pluralities translation items. 2. Create a new version named as russian-fix 3. Upload the source files and the Russian translation files created in #1 to the version russian-fix 4. Merge the stable version with version russian-fix 5. Rename stable version to stable-old, and rename russian-fix to stable.
Alex and Akihiro, please confirm my proposal. Then I can take actions. Best regards Ying Chun Guo (Daisy) Alex Eng <aeng@redhat.com> wrote on 2016/03/11 04:36:15:
From: Alex Eng <aeng@redhat.com> To: Ilya Alekseyev <ilyaalekseyev@acm.org> Cc: Akihiro Motoki <amotoki@gmail.com>, Ying Chun Guo/China/ IBM@IBMCN, "openstack-i18n@lists.openstack.org" <openstack- i18n@lists.openstack.org> Date: 2016/03/11 04:37 Subject: Re: [Openstack-i18n] Wrong plural formula for russian
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 Mobile: +614 2335 3457
Red Hat, Asia-Pacific Pty Ltd Level 1, 193 North Quay Brisbane 4000 Office: +61 7 3514 8100 Fax: +61 7 3514 8199 Website: www.redhat.com
On Fri, Mar 11, 2016 at 3:00 AM, Ilya Alekseyev <ilyaalekseyev@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@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@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@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
From: Ying Chun Guo/China/IBM@IBMCN To: Alex Eng <aeng@redhat.com> Cc: "openstack-i18n@lists.openstack.org" <openstack-i18n@lists.openstack.org> Date: 03/11/2016 01:24 PM Subject: Re: [Openstack-i18n] Wrong plural formula for russian
Thank you for the investigation, Akihiro and Alex.
Below are the steps we previously used. We can follow the same steps, just changing "stable" version to "master" version. I think the statistic data will not be affected in step 1 to 5. But, if we delete master-old, the contribution data in master-old will be removed. So my suggestion is to do the same steps, and keep master-old version (mark it as readonly) till 6 month or 12 month later when the contribution data is not that important.
1. Create Russian translation files with only the correct header and
Hi, team I just fixed this plural formula error in Horizon master version. @Ilya and Akihiro, please pay attention to the new patches to horizon to see if the plural formula is corrected. There is a readonly version in Horizon now, named as master-old-keepforstatistics. I know it looks ugly. But before we can find a way to credit translators' contributions in deleted version, we have to tolerate it for some period. More details are documented here: https://bugs.launchpad.net/openstack-i18n/+bug/1556772, for future reference. Best regards Ying Chun Guo (Daisy) Ying Chun Guo/China/IBM@IBMCN wrote on 03/11/2016 01:20:58 PM: the
pluralities translation items. 2. Create a new version named as russian-fix 3. Upload the source files and the Russian translation files created in #1 to the version russian-fix 4. Merge the stable version with version russian-fix 5. Rename stable version to stable-old, and rename russian-fix to stable.
Alex and Akihiro, please confirm my proposal. Then I can take actions.
Best regards Ying Chun Guo (Daisy)
Alex Eng <aeng@redhat.com> wrote on 2016/03/11 04:36:15:
From: Alex Eng <aeng@redhat.com> To: Ilya Alekseyev <ilyaalekseyev@acm.org> Cc: Akihiro Motoki <amotoki@gmail.com>, Ying Chun Guo/China/ IBM@IBMCN, "openstack-i18n@lists.openstack.org" <openstack- i18n@lists.openstack.org> Date: 2016/03/11 04:37 Subject: Re: [Openstack-i18n] Wrong plural formula for russian
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 Mobile: +614 2335 3457
Red Hat, Asia-Pacific Pty Ltd Level 1, 193 North Quay Brisbane 4000 Office: +61 7 3514 8100 Fax: +61 7 3514 8199 Website: www.redhat.com
On Fri, Mar 11, 2016 at 3:00 AM, Ilya Alekseyev <ilyaalekseyev@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@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@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@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n _______________________________________________ Openstack-i18n mailing list Openstack-i18n@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
participants (4)
-
Akihiro Motoki
-
Alex Eng
-
Ilya Alekseyev
-
Ying Chun Guo