<font size=2 face="sans-serif">Thank you for looking into it, Illya.</font>
<br><font size=2 face="sans-serif">I think we need to fix it, although
the manually process might be a little complex.</font>
<br>
<br><font size=2 face="sans-serif">I'm going to:</font>
<br><font size=2 face="sans-serif">1. Create a new version in Zanata</font>
<br><font size=2 face="sans-serif">2. Mark master as read only</font>
<br><font size=2 face="sans-serif">2. Pull the source files and the translation
files.</font>
<br><font size=2 face="sans-serif">3. Change the </font><tt><font size=2>pluralities</font></tt><font size=2 face="sans-serif">
settings in Russian translation files.</font>
<br><font size=2 face="sans-serif">4. Upload the source files and translation
files to the new version.</font>
<br><font size=2 face="sans-serif">5. Check if the all things are right,
change master version name to "master-old", </font>
<br><font size=2 face="sans-serif">and then change the new version name
to "master"</font>
<br>
<br><font size=2 face="sans-serif">How do you want to update these </font><tt><font size=2>pluralities
</font></tt><font size=2 face="sans-serif">then? By program ? Or manually
?</font>
<br><font size=2 face="sans-serif">Is it possible to make the changes through
Zanata UI, other than uploading po files ?</font>
<br>
<br><font size=2 face="sans-serif">Best regards<br>
Ying Chun Guo (Daisy)<br>
</font>
<br>
<br><tt><font size=2>Douglas Fish/Rochester/IBM wrote on 09/23/2015 04:38:19
AM:<br>
<br>
> From: Douglas Fish/Rochester/IBM@IBMUS</font></tt>
<br><tt><font size=2>> To: ilyaalekseyev@acm.org</font></tt>
<br><tt><font size=2>> Cc: guoyingc@cn.ibm.com, openstack-i18n@lists.openstack.org</font></tt>
<br><tt><font size=2>> Date: 09/23/2015 04:38 AM</font></tt>
<br><tt><font size=2>> Subject: Re: [Openstack-i18n] Would like Zanata
branch to correct 1494819</font></tt>
<br><tt><font size=2>> <br>
> Hi Ilya,</font></tt>
<br><tt><font size=2>>  </font></tt>
<br><tt><font size=2>> Thanks for looking at this! Unfortunately having
4 pluralities <br>
> confuses Horizon. I've tested out stripping one of the pluralities
<br>
> and restoring the expected Plural-forms definition (just like the
<br>
> one you linked) and it works great.</font></tt>
<br><tt><font size=2>>  </font></tt>
<br><tt><font size=2>> I had hoped to just repair the PO files in this
way and upload the <br>
> corrected translations to Zanata.</font></tt>
<br><tt><font size=2>>  </font></tt>
<br><tt><font size=2>> Unfortunately, I understand from Daisy's research
that once a <br>
> language/project has been created in Zanata in this way we cannot
<br>
> just upload a PO file with corrected pluralities . More <br>
> investigation will be needed to understand the process to fix this.</font></tt>
<br><tt><font size=2>> <br>
> Doug </font></tt>
<br><tt><font size=2>>  </font></tt>
<br><tt><font size=2>>  </font></tt>
<br><tt><font size=2>> ----- Original message -----<br>
> From: Ilya Alekseyev <ilyaalekseyev@acm.org><br>
> Sent by: ilya@phpcoder.ru<br>
> To: Douglas Fish/Rochester/IBM@IBMUS<br>
> Cc: Ying Chun Guo <guoyingc@cn.ibm.com>, "openstack-<br>
> i18n@lists.openstack.org" <openstack-i18n@lists.openstack.org><br>
> Subject: Re: [Openstack-i18n] Would like Zanata branch to correct
1494819<br>
> Date: Tue, Sep 22, 2015 2:39 PM<br>
>   </font></tt>
<br><tt><font size=2>> Hi Doug and Daisy! </font></tt>
<br><tt><font size=2>>  </font></tt>
<br><tt><font size=2>> Looks like we have wrong pluralities in current
release:</font></tt>
<br><tt><font size=2>> in </font></tt><a href=https://github.com/openstack/horizon/blob/master/><tt><font size=2>https://github.com/openstack/horizon/blob/master/</font></tt></a><tt><font size=2><br>
> openstack_dashboard/locale/ru/LC_MESSAGES/django.po</font></tt>
<br><tt><font size=2>>  </font></tt>
<br><tt><font size=2>> we have: </font></tt>
<br><tt><font size=2>> "Plural-Forms: nplurals=4; plural=(n%10==1
&& n%100!=11 ? 0 : n%10>=2 && n"</font></tt>
<br><tt><font size=2>> "%10<=4 && (n%100<12 || n%100>14)
? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n"</font></tt>
<br><tt><font size=2>> "%100>=11 && n%100<=14)? 2
: 3);\n"</font></tt>
<br><tt><font size=2>>  </font></tt>
<br><tt><font size=2>> but in previuos releses we have:</font></tt>
<br><tt><font size=2>> "Plural-Forms: nplurals=3; plural=(n%10==1
&& n%100!=11 ? 0 : n%<br>
> 10>=2 && n%10<=4 && (n%100<10 || n%100>=20)
? 1 : 2);\n"</font></tt>
<br><tt><font size=2>>  </font></tt>
<br><tt><font size=2>> Last one is right for Russian.</font></tt>
<br><tt><font size=2>>  </font></tt>
<br><tt><font size=2>> We can make translation in Zanata for 4 pluralities,
but it can give<br>
> in some cases bugs with wrong plural forms.</font></tt>
<br><tt><font size=2>>  </font></tt>
<br><tt><font size=2>> Kind regards,</font></tt>
<br><tt><font size=2>> Ilya Alekseyev.</font></tt>
<br><tt><font size=2>>   </font></tt>
<br><tt><font size=2>> 2015-09-22 14:22 GMT+03:00 Douglas Fish <drfish@us.ibm.com>:
</font></tt>
<br><tt><font size=2>> Hi Daisy,</font></tt>
<br><tt><font size=2>>  </font></tt>
<br><tt><font size=2>> I am certain this issue is caused by plural forms.
The issue with <br>
> missing menus is seen with the current 4 plural form translations;
<br>
> when I correct the PO file to have 3 forms Horizon properly displaysthe
menus.</font></tt>
<br><tt><font size=2>> <br>
> Doug </font></tt>
<br><tt><font size=2>>  </font></tt>
<br><tt><font size=2>>  </font></tt>
<br><tt><font size=2>> ----- Original message -----<br>
> From: Ying Chun Guo/China/IBM<br>
> To: Douglas Fish/Rochester/IBM@IBMUS@IBMAU<br>
> Cc: openstack-i18n@lists.openstack.org<br>
> Subject: Re: [Openstack-i18n] Would like Zanata branch to correct
1494819<br>
> Date: Tue, Sep 22, 2015 12:49 AM<br>
>  <br>
> Hi, Doug<br>
> <br>
> We need to consider it carefully.<br>
> <br>
> After working with Zanata dev team, I got to understand:<br>
> <br>
> 1. Zanata has its own plural forms. If po file has its own plural
<br>
> form, Zanata will use that. <br>
> Otherwise, Zanata will use its own plural form. Pluralforms in Zanata:<br>
> nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2
&& n%10<=4 &&<br>
> (n%100<10 || n%100>=20) ? 1 : 2).<br>
> So it looks like that OpenStack po files overrode the pluralforms
in Zanata.<br>
> <br>
> 2. Zanata currently don't allow update of plural forms once the <br>
> document has been uploaded to Zanata. <br>
> Even with deletion of that source document and re-upload (in the <br>
> same project-version, same doc name and same path), <br>
> Zanata will still reuse the old pluralform.<br>
> <br>
> 3. If we want to update the pluralforms, we will need to do it in
<br>
> new project-version <br>
> (don't use copy-from previous version function).<br>
> <br>
> I think we need to carefully design the steps to change pluralforms
<br>
> of Russian.<br>
> At first, I want to confirm with you, are you sure this issue is <br>
> caused by plural forms?<br>
> <br>
> Best regards<br>
> Ying Chun Guo (Daisy)<br>
> <br>
> <br>
> Douglas Fish/Rochester/IBM wrote on 2015/09/18 23:38:22:<br>
> <br>
> > From: Douglas Fish/Rochester/IBM@IBMUS<br>
> > To: guoyingc@cn.ibm.com<br>
> > Cc: openstack-i18n@lists.openstack.org<br>
> > Date: 2015/09/18 23:38<br>
> > Subject: Re: [Openstack-i18n] Would like Zanata branch to correct
1494819<br>
> > <br>
> > Hi Daisy,<br>
> >  <br>
> > Yes, I understand - I don't think I can even propose my branch<br>
> > unless I am added as a translator by the Russian team.<br>
> >  <br>
> > My proposal would include removing one plural form for<br>
> > 4 messages in horizon django.po<br>
> > 1 message in horizon djangojs.po<br>
> > 144 messages in openstack_dashboard django.po<br>
> > 0 messages in openstack_dashboard djangojs.po<br>
> > plus the pluralization specification would be updated in all
4 files.<br>
> > <br>
> > Doug <br>
> >  <br>
> > ----- Original message -----<br>
> > From: Ying Chun Guo <guoyingc@cn.ibm.com><br>
> > To: Douglas Fish/Rochester/IBM@IBMUS<br>
> > Cc: openstack-i18n@lists.openstack.org<br>
> > Subject: Re: [Openstack-i18n] Would like Zanata branch to correct
1494819<br>
> > Date: Fri, Sep 18, 2015 3:25 AM<br>
> >  <br>
> > Are there a lot of changes in your proposed po files ?<br>
> > I'm still waiting for Russian team's response.<br>
> ><br>
> > Best regards<br>
> > Ying Chun Guo (Daisy)<br>
> ><br>
> ><br>
> > "Douglas Fish" <drfish@us.ibm.com> wrote on 09/18/2015
05:37:07 AM:<br>
> ><br>
> > > From: "Douglas Fish" <drfish@us.ibm.com><br>
> > > To: openstack-i18n@lists.openstack.org<br>
> > > Date: 09/18/2015 05:38 AM<br>
> > > Subject: [Openstack-i18n] Would like Zanata branch to correct
1494819<br>
> > > </font></tt>
<br><tt><font size=2>> > > Hi translation friends,<br>
> > > <br>
> > > I'd like to contribute 4 PO files for the Horizon Russian<br>
> > > translation to correct the issue<br>
> > > </font></tt><a href="https://bugs.launchpad.net/openstack-i18n/+bug/1494819"><tt><font size=2>https://bugs.launchpad.net/openstack-i18n/+bug/1494819</font></tt></a><tt><font size=2><br>
> > > <br>
> > > These uploads won't contain any new translations, but instead
will<br>
> > > be an adjustment to the PO files so they have 3 pluralities,
which<br>
> > is standard<br>
> > > </font></tt><a href="http://localization-guide.readthedocs.org/en/latest/l10n/pluralforms.html"><tt><font size=2>http://localization-guide.readthedocs.org/en/latest/l10n/pluralforms.html</font></tt></a><tt><font size=2><br>
> > > <br>
> > > Specifically, I plan to remove the msgstr[2] translation
from the<br>
> > > files (because msgstr[2] is blank for many cases), rename
the msgstr<br>
> > > [3] translation to msgstr[2] and adjust the plurality specification
to<br>
> > > nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2
&& n%10<=4 &&<br>
> > > (n%100<10 || n%100>=20) ? 1 : 2);<br>
> > > <br>
> > > As discussed in the team meeting </font></tt><a href=http://eavesdrop.openstack.org/><tt><font size=2>http://eavesdrop.openstack.org/</font></tt></a><tt><font size=2><br>
> > > meetings/openstack_i18n_meeting/2015/openstack_i18n_meeting.<br>
> > > 2015-09-17-13.00.log.html<br>
> > > please create a Zanata branch so I can propose these corrections<br>
> for review.<br>
> > > <br>
> > > Thanks!<br>
> > ><br>
> > > Doug</font></tt>
<br><tt><font size=2>> > > _______________________________________________<br>
> > > Openstack-i18n mailing list<br>
> > > Openstack-i18n@lists.openstack.org<br>
> > > </font></tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n"><tt><font size=2>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n</font></tt></a>
<br><tt><font size=2>> <br>
> <br>
> _______________________________________________<br>
> Openstack-i18n mailing list<br>
> Openstack-i18n@lists.openstack.org<br>
> </font></tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n"><tt><font size=2>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n</font></tt></a><tt><font size=2><br>
>  </font></tt>