<div dir="auto"><div>Hi Albert<br><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">في الاثنين، ٧ يوليو ٢٠٢٥، ٢:٥١ ص Albert Astals Cid <<a href="mailto:aacid@kde.org">aacid@kde.org</a>> كتب:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">El diumenge, 6 de juliol del 2025, a les 8:02:01 (Hora d’estiu d’Europa <br>
central), Zayed Al-Saidi va escriure:<br>
> Dear Juraj,<br>
> <br>
> Thank you to bring this to my attention. It seems the scripty kiddy doing<br>
> the fight with my Lokalize and summit without human involvement 😅.<br>
<br>
All our translations are forced have the plural form definition of ki18n.po<br>
<br>
It seems you may be using a different one in falkon than the one in ki18n?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I'm missing something here. I'm the only one currently who commit Arabic translation. I don't do anything special for Falkon. I let Lokalize to handle plural form for all kde files.</div><div dir="auto"><br></div><div dir="auto">However, I find out that the default plural form for Arabic in Lokalize is wrong one and I can't change it. This mean for any new po file Lokalize will put the wrong plural form for Arabic. </div><div dir="auto">This what happened for falkon_sitesettingsview_qt.po</div><div dir="auto"> </div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Please agree on which is the correct plural form and use the same one <br>
everywhere.<br></blockquote></div></div><div dir="auto"> </div><div dir="auto">Going forward, I need help to:</div><div dir="auto">1- a script to correct the Arabic plural form and standardize it to</div><div dir="auto">nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 ? 4 : 5;</div><div dir="auto"><br></div><div dir="auto">for all existing files.</div><div dir="auto"><br></div><div dir="auto">2- Correct the default Arabic plural form in Lokalize.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Cheers,<br>
Albert<br>
<br>
> <br>
> في السبت، ٥ يوليو ٢٠٢٥، ١٢:٤٤ م Juraj Oravec <<a href="mailto:jurajoravec@mailo.com" target="_blank" rel="noreferrer">jurajoravec@mailo.com</a>> كتب:<br>
> > Hello,<br>
> > <br>
> > For a while I maintain a Falkon project.<br>
> > Since the translations are included and synced every day within the git<br>
> > repository, I see very often something I call a "translation war".<br>
> > <br>
> > This "war" consist of changing the SAME translation back and forth over<br>
> > and over and over again. Which translator is right? I have no idea, all<br>
> > I know is, that it is a mess and it makes a load of useless commits.<br>
> > <br>
> > The issue is with an Arabic (ar) translation[2] and what seems to be<br>
> > numbers. Have a discussion here and now, determine which one is correct,<br>
> > correct the translation (if needed) and freeze it.<br>
> > <br>
> > > "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 :<br>
> > n%100>=3 "<br>
> > <br>
> > > "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"<br>
> > <br>
> > vs<br>
> > <br>
> > > "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 :<br>
> > n%100>=3 "<br>
> > <br>
> > > "&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n"<br>
> <br>
> In Arabic we using this. See<br>
> <a href="https://wiki.arabeyes.org/Plural_Forms" rel="noreferrer noreferrer" target="_blank">https://wiki.arabeyes.org/Plural_Forms</a><br>
> <br>
> > PS: at the end are links to the commit history[1] for this file and to<br>
> > an example commit[2] with this change.<br>
> > <br>
> > <br>
> > Thank you for your help,<br>
> > Best regards,<br>
> > Juraj<br>
> > <br>
> > <br>
> > [1]:<br>
> > <a href="https://invent.kde.org/network/falkon/-/commits/master/poqm/ar/falkon_site" rel="noreferrer noreferrer" target="_blank">https://invent.kde.org/network/falkon/-/commits/master/poqm/ar/falkon_site</a><br>
> > settingsview_qt.po [2]:<br>
> > <a href="https://invent.kde.org/network/falkon/-/commit/c8dfd002b807c87610fff4a8332" rel="noreferrer noreferrer" target="_blank">https://invent.kde.org/network/falkon/-/commit/c8dfd002b807c87610fff4a8332</a><br>
> > 107f4ddccfcc4<br>
> As far I understand, the result both forms will give same result.<br>
> Fifth form: for numbers that end with a number between 11 and 99 (like:<br>
> 1099, 278)<br>
> <br>
> n%100>=11 && n%100<=99 ? 4<br>
> n%100>=11 ? 4<br>
> <br>
> Is that correct? As I mentioned before, we have sticked to the last one for<br>
> decade without issue.<br>
> <br>
> I don't know who introduced the first one to scripty kiddy.<br>
> <br>
> Regards,<br>
> Zayed<br>
<br>
<br>
<br>
<br>
</blockquote></div></div></div>