<div dir="auto">Systemsettings sets that, and there is no ar_BH language, but ar only.<div dir="auto">That's the standard for Arabic translations.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Jan 10, 2018 10:09 PM, "Albert Astals Cid" <<a href="mailto:aacid@kde.org">aacid@kde.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">El dimecres, 10 de gener de 2018, a les 5:49:54 CET, Safa Alfulaij va<br>
escriure:<br>
> Well, I don't want to remove it but it's a must. First it's not right<br>
> logically and second is that Qt prefers it over LANG, and use any locale<br>
> varient since it has no country name. (QLocale("ar") returns "Arabic<br>
> (Egypt)" (which is defind in unicode), instead of my "Arabic (Bahrain)"<br>
> locale.<br>
> And it's the only thing that is not getting translated which is obviously a<br>
> bug.<br>
<br>
Why not use ar_BH as LANGUAGE?<br>
<br>
this is the output of my locale<br>
<br>
$ locale<br>
LANG=ca_ES.UTF-8<br>
LANGUAGE=ca_ES<br>
LC_CTYPE="ca_ES.UTF-8"<br>
LC_NUMERIC="ca_ES.UTF-8"<br>
LC_TIME="ca_ES.UTF-8"<br>
LC_COLLATE="ca_ES.UTF-8"<br>
LC_MONETARY="ca_ES.UTF-8"<br>
LC_MESSAGES="ca_ES.UTF-8"<br>
LC_PAPER="ca_ES.UTF-8"<br>
LC_NAME="ca_ES.UTF-8"<br>
LC_ADDRESS="ca_ES.UTF-8"<br>
LC_TELEPHONE="ca_ES.UTF-8"<br>
LC_MEASUREMENT="ca_ES.UTF-8"<br>
LC_IDENTIFICATION="ca_ES.UTF-<wbr>8"<br>
LC_ALL=<br>
<br>
Cheers,<br>
  Albert<br>
<br>
<br>
><br>
> Regards<br>
><br>
> On Jan 10, 2018 12:20 AM, "Albert Astals Cid" <<a href="mailto:aacid@kde.org">aacid@kde.org</a>> wrote:<br>
> > El dimarts, 9 de gener de 2018, a les 20:08:02 CET, Safa Alfulaij va<br>
> ><br>
> > escriure:<br>
> > > Hello all.<br>
> > ><br>
> > > After doing some investigation about a problem, I came into an issue in<br>
> > > loading correct translations in Frameworks (that has the “_qt” suffix in<br>
> > > translation system).<br>
> > > Previously, I had my LANGUAGE enviroment variable containing “ar”, which<br>
> ><br>
> > is<br>
> ><br>
> > > because I added Arabic in my “Language” KCM (without knowing that I<br>
> > > don't<br>
> > > need it if the locale is alread set to Arabic).<br>
> > > This was normal and things was translated well. Today I removed that<br>
> > > “ar”<br>
> > > because it's not needed, and all applications (Qt, KDE, Gnome, other<br>
> ><br>
> > KF5s)<br>
> ><br>
> > > worked except for those frameworks which are using QM files (the ones<br>
> ><br>
> > with<br>
> ><br>
> > > “_qt” suffix). The translation isn't loaded and strings are shown in<br>
> > > English.<br>
> ><br>
> > So don't remove it?<br>
> ><br>
> > Cheers,<br>
> ><br>
> >   Albert<br>
<br>
<br>
</blockquote></div></div>