[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-23 5:38:08
Message-ID: CACVjhxXRO0+EipKhg=dMjnhcjCfV=uZCUh8U+MZOu7aC1WXvkg () mail ! gmail ! com
[Download RAW message or body]

Thank you so much, I've started working on it.
Yaron Shahrabani

<DevOps - Hebrew translator>



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

> El dijous, 19 d'octubre de 2023, a les 12:43:27 (CEST), Yaron Shahrabani
> va
> escriure:
> > Sounds reasonable, you said it's possible to  apply only on KF6, if so I
> > don't think it should be a problem.
>
> Done.
>
> >
> > Thank you :)
> > Yaron Shahrabani
> >
> > <DevOps - Hebrew translator>
> >
> > On Thu, Oct 19, 2023 at 8:56 AM Johnny Jazeix <jazeix@gmail.com> wrote:
> > > Hi Yaron,
> > > depending on your need, there is polib in python
> > > (https://polib.readthedocs.io/en/latest/quickstart.html) which should
> > > allow you to browse the files and find which ones have plurals, and
> > > update them if needed. There are probably other tools but that is the
> > > one I know :).
> > >
> > > The fuzzy should keep the values for 1 and 2, so copying it the second
> > > translation to the fourth form should be doable (it would still need
> > > review but should lessen the work).
> > >
> > > Cheers,
> > >
> > > Johnny
> > >
> > > Le mer. 18 oct. 2023 Ã  23:57, Albert Astals Cid <aacid@kde.org> a
> écrit :
> > > > El dimecres, 18 d'octubre de 2023, a les 22:17:01 (CEST), Yaron
> > >
> > > Shahrabani va
> > >
> > > > escriure:
> > > > > I bet there is :)
> > > > > The new plural form will require some string modifications in
> addition
> > >
> > > to
> > >
> > > > > the header.
> > > > >
> > > > > The current formula is as follows:
> > > > > [1 - 1] %d house
> > > > > [2 - !1] %d houses
> > > > >
> > > > > The new formula is a bit more complex:
> > > > > [1 - 1] %d house
> > > > > [2 - 2] %d/two houses
> > > > > [3 - X%10 == 0 when X is larger than 10] %d house
> > > > > [4 - !1/!2] %d houses (matches the second form in the current
> formula)
> > > > >
> > > > > So one option would be just breaking all the plural strings,
> > > >
> > > > Not breaking, but marking them as fuzzy, yes, that's what the script
> > >
> > > does.
> > >
> > > > Cheers,
> > > >
> > > >   Albert
> > > >
> > > > > the second
> > > > > would be copying the 2nd form to the 3rd and 4th (won't break the
> > >
> > > string
> > >
> > > > > but I'll need to fix it manually).
> > > > > I can try and think of a way to handle this completely
> automatically
> > >
> > > but I
> > >
> > > > > don't think it's worth the trouble.
> > > > >
> > > > > So merely changing the form is not enough.
> > > > > Thanks :)
> > > > > Yaron Shahrabani
> > > > >
> > > > > <DevOps - Hebrew translator>
> > > > >
> > > > > On Wed, Oct 18, 2023 at 11:08 PM Albert Astals Cid <aacid@kde.org>
> > >
> > > wrote:
> > > > > > El dissabte, 14 d'octubre de 2023, a les 22:37:21 (CEST), Yaron
> > >
> > > Shahrabani
> > >
> > > > > > va
> > > > > >
> > > > > > escriure:
> > > > > > > I'm really hoping we can find a way to pull this off, it'll
> > > > > > > require
> > > > > > > human
> > > > > > > resources beyond our reach.
> > > > > > >
> > > > > > > I can try and think about a way to do this automatically but
> I'm
> > >
> > > afraid
> > >
> > > > > > it
> > > > > >
> > > > > > > won't be perfect.
> > > > > >
> > > > > > Do what automatically?
> > > > > >
> > > > > > Change the plural definition for all files?
> > > > > >
> > > > > > We have a script to do that.
> > > > > >
> > > > > > Cheers,
> > > > > >
> > > > > >   Albert
> > > > > >
> > > > > > > Are there any examples of other languages that switched plural
> > >
> > > forms in
> > >
> > > > > > KDE
> > > > > >
> > > > > > > along their history?
> > > > > > >
> > > > > > > Thanks.
> > > > > > > Yaron Shahrabani
> > > > > > >
> > > > > > > <DevOps - Hebrew translator>
> > > > > > >
> > > > > > > On Tue, Oct 10, 2023 at 10:44 AM Johnny Jazeix <
> jazeix@gmail.com>
> > >
> > > wrote:
> > > > > > > > Le mar. 10 oct. 2023 Ã  09:38, Yaron Shahrabani <
> > >
> > > sh.yaron@gmail.com> a
> > >
> > > > > > > > écrit :
> > > > > > > > > So what about my first question, it only applies to new
> > >
> > > submissions?
> > >
> > > > > > > > Hi,
> > > > > > > > It is for all the files or none. We cannot change the plural
> > >
> > > forms for
> > >
> > > > > > > > only some files.
> > > > > > > >
> > > > > > > > Cheers
> > > > > > > > Johnny
> > > > > > > >
> > > > > > > > > On Sat, Oct 7, 2023, 01:35 Albert Astals Cid <
> aacid@kde.org>
> > >
> > > wrote:
> > > > > > > > >> El divendres, 6 d'octubre de 2023, a les 22:33:21 (CEST),
> > >
> > > Yaron
> > >
> > > > > > > > Shahrabani va
> > > > > > > >
> > > > > > > > >> escriure:
> > > > > > > > >> > 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?
> > > > > > > > >>
> > > > > > > > >> All KDE files for a given language must have the same
> plural
> > > > > > > > >> definition.
> > > > > > > > >>
> > > > > > > > >> Cheers,
> > > > > > > > >>
> > > > > > > > >>   Albert
> > > > > > > > >>
> > > > > > > > >> > 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_plura
> > >
> > > > > > > > >> > > l_>
> > > > > > > > >> > >
> > > > > > > > >> > > > 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">Thank \
you so much, I&#39;ve started working on it.<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 20, 2023 at \
11:45 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, 19 \
d'octubre de 2023, a les 12:43:27 (CEST), Yaron Shahrabani va <br> escriure:<br>
&gt; Sounds reasonable, you said it&#39;s possible to   apply only on KF6, if so \
I<br> &gt; don&#39;t think it should be a problem.<br>
<br>
Done.<br>
<br>
&gt; <br>
&gt; Thank you :)<br>
&gt; Yaron Shahrabani<br>
&gt; <br>
&gt; &lt;DevOps - Hebrew translator&gt;<br>
&gt; <br>
&gt; On Thu, Oct 19, 2023 at 8:56 AM Johnny Jazeix &lt;<a \
href="mailto:jazeix@gmail.com" target="_blank">jazeix@gmail.com</a>&gt; wrote:<br> \
&gt; &gt; Hi Yaron,<br> &gt; &gt; depending on your need, there is polib in \
python<br> &gt; &gt; (<a \
href="https://polib.readthedocs.io/en/latest/quickstart.html" rel="noreferrer" \
target="_blank">https://polib.readthedocs.io/en/latest/quickstart.html</a>) which \
should<br> &gt; &gt; allow you to browse the files and find which ones have plurals, \
and<br> &gt; &gt; update them if needed. There are probably other tools but that is \
the<br> &gt; &gt; one I know :).<br>
&gt; &gt; <br>
&gt; &gt; The fuzzy should keep the values for 1 and 2, so copying it the second<br>
&gt; &gt; translation to the fourth form should be doable (it would still need<br>
&gt; &gt; review but should lessen the work).<br>
&gt; &gt; <br>
&gt; &gt; Cheers,<br>
&gt; &gt; <br>
&gt; &gt; Johnny<br>
&gt; &gt; <br>
&gt; &gt; Le mer. 18 oct. 2023 Ã  23:57, Albert Astals Cid &lt;<a \
href="mailto:aacid@kde.org" target="_blank">aacid@kde.org</a>&gt; a écrit :<br> &gt; \
&gt; &gt; El dimecres, 18 d'octubre de 2023, a les 22:17:01 (CEST), Yaron<br> &gt; \
&gt; <br> &gt; &gt; Shahrabani va<br>
&gt; &gt; <br>
&gt; &gt; &gt; escriure:<br>
&gt; &gt; &gt; &gt; I bet there is :)<br>
&gt; &gt; &gt; &gt; The new plural form will require some string modifications in \
addition<br> &gt; &gt; <br>
&gt; &gt; to<br>
&gt; &gt; <br>
&gt; &gt; &gt; &gt; the header.<br>
&gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; The current formula is as follows:<br>
&gt; &gt; &gt; &gt; [1 - 1] %d house<br>
&gt; &gt; &gt; &gt; [2 - !1] %d houses<br>
&gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; The new formula is a bit more complex:<br>
&gt; &gt; &gt; &gt; [1 - 1] %d house<br>
&gt; &gt; &gt; &gt; [2 - 2] %d/two houses<br>
&gt; &gt; &gt; &gt; [3 - X%10 == 0 when X is larger than 10] %d house<br>
&gt; &gt; &gt; &gt; [4 - !1/!2] %d houses (matches the second form in the current \
formula)<br> &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; So one option would be just breaking all the plural strings,<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; Not breaking, but marking them as fuzzy, yes, that&#39;s what the \
script<br> &gt; &gt; <br>
&gt; &gt; does.<br>
&gt; &gt; <br>
&gt; &gt; &gt; Cheers,<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt;     Albert<br>
&gt; &gt; &gt;     <br>
&gt; &gt; &gt; &gt; the second<br>
&gt; &gt; &gt; &gt; would be copying the 2nd form to the 3rd and 4th (won&#39;t break \
the<br> &gt; &gt; <br>
&gt; &gt; string<br>
&gt; &gt; <br>
&gt; &gt; &gt; &gt; but I&#39;ll need to fix it manually).<br>
&gt; &gt; &gt; &gt; I can try and think of a way to handle this completely \
automatically<br> &gt; &gt; <br>
&gt; &gt; but I<br>
&gt; &gt; <br>
&gt; &gt; &gt; &gt; don&#39;t think it&#39;s worth the trouble.<br>
&gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; So merely changing the form is not enough.<br>
&gt; &gt; &gt; &gt; Thanks :)<br>
&gt; &gt; &gt; &gt; Yaron Shahrabani<br>
&gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &lt;DevOps - Hebrew translator&gt;<br>
&gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; On Wed, Oct 18, 2023 at 11:08 PM Albert Astals Cid &lt;<a \
href="mailto:aacid@kde.org" target="_blank">aacid@kde.org</a>&gt;<br> &gt; &gt; <br>
&gt; &gt; wrote:<br>
&gt; &gt; &gt; &gt; &gt; El dissabte, 14 d'octubre de 2023, a les 22:37:21 (CEST), \
Yaron<br> &gt; &gt; <br>
&gt; &gt; Shahrabani<br>
&gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; va<br>
&gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; escriure:<br>
&gt; &gt; &gt; &gt; &gt; &gt; I&#39;m really hoping we can find a way to pull this \
off, it&#39;ll<br> &gt; &gt; &gt; &gt; &gt; &gt; require<br>
&gt; &gt; &gt; &gt; &gt; &gt; human<br>
&gt; &gt; &gt; &gt; &gt; &gt; resources beyond our reach.<br>
&gt; &gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; I can try and think about a way to do this \
automatically but I&#39;m<br> &gt; &gt; <br>
&gt; &gt; afraid<br>
&gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; it<br>
&gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; won&#39;t be perfect.<br>
&gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; Do what automatically?<br>
&gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; Change the plural definition for all files?<br>
&gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; We have a script to do that.<br>
&gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; Cheers,<br>
&gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt;     Albert<br>
&gt; &gt; &gt; &gt; &gt;     <br>
&gt; &gt; &gt; &gt; &gt; &gt; Are there any examples of other languages that switched \
plural<br> &gt; &gt; <br>
&gt; &gt; forms in<br>
&gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; KDE<br>
&gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; along their history?<br>
&gt; &gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; Thanks.<br>
&gt; &gt; &gt; &gt; &gt; &gt; Yaron Shahrabani<br>
&gt; &gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &lt;DevOps - Hebrew translator&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; On Tue, Oct 10, 2023 at 10:44 AM Johnny Jazeix &lt;<a \
href="mailto:jazeix@gmail.com" target="_blank">jazeix@gmail.com</a>&gt;<br> &gt; &gt; \
<br> &gt; &gt; wrote:<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Le mar. 10 oct. 2023 Ã  09:38, Yaron Shahrabani \
&lt;<br> &gt; &gt; <br>
&gt; &gt; <a href="mailto:sh.yaron@gmail.com" \
target="_blank">sh.yaron@gmail.com</a>&gt; a<br> &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; écrit :<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; So what about my first question, it only \
applies to new<br> &gt; &gt; <br>
&gt; &gt; submissions?<br>
&gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Hi,<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; It is for all the files or none. We cannot change \
the plural<br> &gt; &gt; <br>
&gt; &gt; forms for<br>
&gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; only some files.<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Cheers<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Johnny<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; On Sat, Oct 7, 2023, 01:35 Albert Astals Cid \
&lt;<a href="mailto:aacid@kde.org" target="_blank">aacid@kde.org</a>&gt;<br> &gt; \
&gt; <br> &gt; &gt; wrote:<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; El divendres, 6 d'octubre de 2023, a les \
22:33:21 (CEST),<br> &gt; &gt; <br>
&gt; &gt; Yaron<br>
&gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Shahrabani va<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; escriure:<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; Hey, if it&#39;s only relevant for \
new submissions that&#39;s fine,<br> &gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; applying<br>
&gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; that<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; to all current files will be very \
cumbersome.<br> &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; Is there a way to \
accept both?<br> &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; All KDE files for a given language must \
have the same plural<br> &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; definition.<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; Cheers,<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt;     Albert<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt;     <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; Yaron Shahrabani<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &lt;DevOps - Hebrew \
translator&gt;<br> &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; On Fri, Oct 6, 2023 at 11:17 PM \
Albert Astals Cid &lt;<br> &gt; &gt; <br>
&gt; &gt; <a href="mailto:aacid@kde.org" target="_blank">aacid@kde.org</a>&gt;<br>
&gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; wrote:<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; El dijous, 5 d'octubre de 2023, \
a les 20:27:44 (CEST),<br> &gt; &gt; <br>
&gt; &gt; Yaron<br>
&gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Shahrabani va<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; escriure:<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; &gt; Over the last couple of \
days I ran into a problem where<br> &gt; &gt; <br>
&gt; &gt; the<br>
&gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; gettext<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; &gt; files<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; &gt; I&#39;ve submitted caused \
all sorts of issues with Scripty.<br> &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; \
&gt; &gt; &gt; <br> &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; &gt; KDE is \
still using the old plural form for Hebrew (2<br> &gt; &gt; <br>
&gt; &gt; cases):<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; &gt; &quot;Plural-Forms: \
nplurals=2; plural=n != 1;\n&quot;<br> &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; \
&gt; &gt; &gt; <br> &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; &gt; \
Several years ago this formula was changed to reflect<br> &gt; &gt; <br>
&gt; &gt; some<br>
&gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; rare<br>
&gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; cases in<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; &gt; Hebrew.<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; &gt; The new official formula \
is:<br> &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; &gt; &quot;Plural-Forms: \
nplurals=4; plural=(n == 1) ? 0 : ((n ==<br> &gt; &gt; <br>
&gt; &gt; 2) ?<br>
&gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; 1 :<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; ((n &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; &gt; 10<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; &gt; &amp;&amp; n % 10 == 0) ? \
2 : 3));\n&quot;<br> &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; &gt; This is documented \
here:<br> &gt; &gt; <a \
href="http://www.unicode.org/cldr/cldr-aux/charts/22/supplemental/language_plura" \
rel="noreferrer" target="_blank">http://www.unicode.org/cldr/cldr-aux/charts/22/supplemental/language_plura</a><br>
 &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; l_&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; &gt; rules.html<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; &gt; I&#39;ve been using this \
formula for several years now.<br> &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; \
&gt; &gt; Some other projects implementing it:<br> &gt; &gt; &gt; &gt; &gt; &gt; &gt; \
&gt;&gt; &gt; &gt; &gt; Weblate, Transifex, Crowding, Poedit and many others.<br> \
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; &gt; <br> &gt; &gt; &gt; &gt; \
&gt; &gt; &gt; &gt;&gt; &gt; &gt; &gt; Since the actual cases for using this formula \
are rare<br> &gt; &gt; <br>
&gt; &gt; (time<br>
&gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; related<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; terms<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; &gt; - hours, days, months, \
years, times) it&#39;s not always<br> &gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; necessary to<br>
&gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; use it<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; so<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; &gt; supporting the older \
formula in addition to the new one<br> &gt; &gt; <br>
&gt; &gt; is<br>
&gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; definitely a<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; &gt; good option for now.<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; We can change to the new \
formula, but that means<br> &gt; &gt; <br>
&gt; &gt; invalidating<br>
&gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; all<br>
&gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; plurals<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; that<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; use the nplurals=2 formula, is \
that ok for you?<br> &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; Cheers,<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt;     Albert<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt;     <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; &gt; Thank you,<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; &gt; Yaron Shahrabani<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; &gt; &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