[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: Hebrew plural forms
From:       Yaron Shahrabani <sh.yaron () gmail ! com>
Date:       2023-10-06 20:33:21
Message-ID: CACVjhxWtgD1xcviRjUu02-jdAQr=qv8Fz+R0enG=mW_Z5jbRjg () mail ! gmail ! com
[Download RAW message or body]

Hey, if it's only relevant for new submissions that's fine, applying that
to all current files will be very cumbersome.
Is there a way to accept both?
Yaron Shahrabani

<DevOps - Hebrew translator>



On Fri, Oct 6, 2023 at 11:17 PM Albert Astals Cid <aacid@kde.org> wrote:

> El dijous, 5 d'octubre de 2023, a les 20:27:44 (CEST), Yaron Shahrabani va
> escriure:
> > Over the last couple of days I ran into a problem where the gettext files
> > I've submitted caused all sorts of issues with Scripty.
> >
> > KDE is still using the old plural form for Hebrew (2 cases):
> > "Plural-Forms: nplurals=2; plural=n != 1;\n"
> >
> > Several years ago this formula was changed to reflect some rare cases in
> > Hebrew.
> > The new official formula is:
> > "Plural-Forms: nplurals=4; plural=(n == 1) ? 0 : ((n == 2) ? 1 : ((n > 10
> > && n % 10 == 0) ? 2 : 3));\n"
> >
> > This is documented here:
> >
> http://www.unicode.org/cldr/cldr-aux/charts/22/supplemental/language_plural_
> > rules.html
> >
> > I've been using this formula for several years now.
> > Some other projects implementing it:
> > Weblate, Transifex, Crowding, Poedit and many others.
> >
> > Since the actual cases for using this formula are rare (time related
> terms
> > - hours, days, months, years, times) it's not always necessary to use it
> so
> > supporting the older formula in addition to the new one is definitely a
> > good option for now.
>
> We can change to the new formula, but that means invalidating all plurals
> that
> use the nplurals=2 formula, is that ok for you?
>
> Cheers,
>   Albert
>
> >
> > Thank you,
> > Yaron Shahrabani
> >
> > <DevOps - Hebrew translator>
>
>
>
>
>

[Attachment #3 (text/html)]

<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hey, \
if it&#39;s only relevant for new submissions that&#39;s fine, applying that to all \
current files will be very cumbersome.</div><div class="gmail_default" \
style="font-family:tahoma,sans-serif">Is there a way to accept both?<br \
clear="all"></div><div><div dir="ltr" class="gmail_signature" \
data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"><span style="font-size:large"><span style="font-family:georgia,serif"><font \
color="#990000">Yaron</font></span><font color="#330000"><span \
style="font-family:georgia,serif"> <font size="4"><span style="font-family:times new \
roman,serif">Shahrabani</span></font></span></font></span><blockquote style="margin:0 \
0 0 40px;border:none;padding:0px"><div><font color="#666666"><span \
style="font-size:x-small"><font color="#FF0000">&lt;</font></span><font \
size="2"><span style="font-family:monospace">DevOps</span> - <span \
style="font-family:garamond,serif">Hebrew translator</span></font><span \
style="font-size:x-small"><font \
color="#FF0000">&gt;</font></span></font></div></blockquote></div></div></div></div></div></div></div><br></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 6, 2023 at \
11:17 PM Albert Astals Cid &lt;<a href="mailto:aacid@kde.org">aacid@kde.org</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">El dijous, 5 d'octubre \
de 2023, a les 20:27:44 (CEST), Yaron Shahrabani va <br> escriure:<br>
&gt; Over the last couple of days I ran into a problem where the gettext files<br>
&gt; I&#39;ve submitted caused all sorts of issues with Scripty.<br>
&gt; <br>
&gt; KDE is still using the old plural form for Hebrew (2 cases):<br>
&gt; &quot;Plural-Forms: nplurals=2; plural=n != 1;\n&quot;<br>
&gt; <br>
&gt; Several years ago this formula was changed to reflect some rare cases in<br>
&gt; Hebrew.<br>
&gt; The new official formula is:<br>
&gt; &quot;Plural-Forms: nplurals=4; plural=(n == 1) ? 0 : ((n == 2) ? 1 : ((n &gt; \
10<br> &gt; &amp;&amp; n % 10 == 0) ? 2 : 3));\n&quot;<br>
&gt; <br>
&gt; This is documented here:<br>
&gt; <a href="http://www.unicode.org/cldr/cldr-aux/charts/22/supplemental/language_plural_" \
rel="noreferrer" target="_blank">http://www.unicode.org/cldr/cldr-aux/charts/22/supplemental/language_plural_</a><br>
 &gt; rules.html<br>
&gt; <br>
&gt; I&#39;ve been using this formula for several years now.<br>
&gt; Some other projects implementing it:<br>
&gt; Weblate, Transifex, Crowding, Poedit and many others.<br>
&gt; <br>
&gt; Since the actual cases for using this formula are rare (time related terms<br>
&gt; - hours, days, months, years, times) it&#39;s not always necessary to use it \
so<br> &gt; supporting the older formula in addition to the new one is definitely \
a<br> &gt; good option for now.<br>
<br>
We can change to the new formula, but that means invalidating all plurals that <br>
use the nplurals=2 formula, is that ok for you?<br>
<br>
Cheers,<br>
   Albert<br>
<br>
&gt; <br>
&gt; Thank you,<br>
&gt; Yaron Shahrabani<br>
&gt; <br>
&gt; &lt;DevOps - Hebrew translator&gt;<br>
<br>
<br>
<br>
<br>
</blockquote></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic