<div dir="ltr">Thank you Mihai,<div><br></div><div>In the code and in the error it exactly seeks for x2goclient_tr_tr (or x2goclient_tr_TR depending on version) file. However, when I read the link you sent, I got that there can be another wrong character in the name. In this link it says x2goclient.tr_TR or <a href="http://x2goclient.tr">x2goclient.tr</a> are the correct front names of it. So, there can be an underscore or dot character problem.</div><div><br></div><div>Well, I have forked the code to my github repository today, and I will have a look at it when I find some free time. So, I will inform you back about the further work.</div><div><br></div><div>Best Regards,</div><div>Orkun BALCI</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 27, 2016 at 4:44 PM, Mihai Moldovan <span dir="ltr"><<a href="mailto:ionic@ionic.de" target="_blank">ionic@ionic.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 27.01.2016 09:03 AM, Orkun BALCI wrote:<br>
> Package: x2goclient (Debian) Version: 4.0.5.0-1<br>
><br>
> In Qt Resources, translation files (.ts) filenames ends with a<br>
> preceeding underscore and two character (like _tr, _en, etc.)<br>
> However, locale names are in the form tr_TR or en_US. Because<br>
> x2goclient reads from :/i18n/[filename] Qt Resource file, it cannot<br>
> find a file named x2goclient_tr_TR, x2goclient_en_US, qt_tr_TR, or<br>
> qt_en_US. .ts file names should be changed from trailing two<br>
> character to four character full locale name.<br>
<br>
</div></div>I disagree, let me explain why.<br>
<br>
We're using QTranslator::load(), which, according to the documentation, should try to load stripped file names, too, c.f.: <a href="https://doc.qt.io/qt-4.8/qtranslator.html#load" rel="noreferrer" target="_blank">https://doc.qt.io/qt-4.8/qtranslator.html#load</a><br>
<br>
The important part is the fallback list for fr_ca. Eventually, it should be able to load :/i18n/x2goclient_tr.qm (and thus also :/i18n/qt_tr.qm.)<br>
<br>
Are you seeing different, wrong behavior?<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
Mihai<br>
<br>
</font></span></blockquote></div><br></div>