From ionic@ionic.de  Wed Jan 27 23:42:11 2016
Received: (at 987) by bugs.x2go.org; 27 Jan 2016 22:42:13 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-2.0 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham
	version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id B5BBC5DA90
	for <987@bugs.x2go.org>; Wed, 27 Jan 2016 23:42:10 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id a2X+D0RVdjiJ for <987@bugs.x2go.org>;
	Wed, 27 Jan 2016 23:42:10 +0100 (CET)
Received: from Root24.de (powered.by.root24.eu [5.135.3.88])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 32C665DA8E
	for <987@bugs.x2go.org>; Wed, 27 Jan 2016 23:42:10 +0100 (CET)
Received: from nopileos.local (home.ionic.de [217.92.117.31])
	by mail.ionic.de (Postfix) with ESMTPSA id 9EA554F00369;
	Wed, 27 Jan 2016 23:42:09 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ionic.de; s=default;
	t=1453934529; bh=tZX7AWFXRlyCA19Dg4IYt2ENORYDKQh9Vm54luEDwYI=;
	h=Subject:To:References:Cc:From:Date:In-Reply-To:From;
	b=VYvRsVsKaR/lvke1QnBvnZsYo/3+ybGEQfWfXEkzK3LkEn7ufs1azoqyFY+cL3aPH
	 x7/+mE85ROIvJCbK21LixxoyrCZM8FZVNvCDPNt49Vxbvs9sfOowaSLsrCqJ4iwOXq
	 DXfswAHuKRY4NfQyL1hDg+7xek3PM7QEUgbnEKSw=
Subject: Re: [X2Go-Dev] Bug#987: .ts Files Name Mismatch Problem
To: Orkun BALCI <b.orkun@gmail.com>
References: <CADjYjXUNsH3Lb4-Z56PQJQHFGRYkhR-efic-rHMOXc5jOnomjQ@mail.gmail.com>
 <56A8D7DD.5040202@ionic.de>
 <CADjYjXWX_8=hX70bjODm+z-NmBzyyH+q4hqxZhQFY_5FH+YfmQ@mail.gmail.com>
Cc: 987@bugs.x2go.org
From: Mihai Moldovan <ionic@ionic.de>
X-Enigmail-Draft-Status: N1110
Message-ID: <56A947BD.5080804@ionic.de>
Date: Wed, 27 Jan 2016 23:42:05 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:38.0)
 Gecko/20100101 Thunderbird/38.4.0
MIME-Version: 1.0
In-Reply-To: <CADjYjXWX_8=hX70bjODm+z-NmBzyyH+q4hqxZhQFY_5FH+YfmQ@mail.gmail.com>
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature";
 boundary="X7nGIjR8e0g5glRe7RiFCUxPGP9SvoU8u"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--X7nGIjR8e0g5glRe7RiFCUxPGP9SvoU8u
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 27.01.2016 11:26 PM, Orkun BALCI wrote:
> 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 lin=
k you sent, I got that there can be another wrong character in the name. =
In this link it says x2goclient.tr_TR or x2goclient.tr <http://x2goclient=
=2Etr> are the correct front names of it. So, there can be an underscore =
or dot character problem.

If you use

LC_ALL=3Dde_DE.utf8 LANG=3Dde_DE.utf8 LANGUAGE=3Dde_DE.utf8 x2goclient --=
debug

you'll see that the client starts up in German. So the algorithm in x2goc=
lient is working as intended - at least for some translations.

Now, there is another bug report with #953 and your report is actually a =
duplicate of this.

LC_ALL=3Dnb_NO.utf8 LANG=3Dnb_NO.utf8 LANGUAGE=3Dnb_NO.utf8:da_DK.utf8 x2=
goclient --debug

will exactly replicate the behavior described in the other bug report - l=
oading the fallback Danish translation instead of the (equally existing) =
Norwegian one.

Just like for the Norwegian translation, the Turkish translation fails to=
 load. I suspect it's not a code problem, but something else. The issue i=
s reproducible on OS X, too.

Try

LC_ALL=3Dtr_TR.utf8 LANG=3Dtr_TR.utf8 LANGUAGE=3Dtr_TR:nb_NO.utf8:da_DK.u=
tf8 x2goclient --debug

and guess what language will be loaded...


I have to investigate this.



Mihai



--X7nGIjR8e0g5glRe7RiFCUxPGP9SvoU8u
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJWqUe/AAoJEB/WLtluJTqHR2YP/i3nW4ZNmnaSlsklHVI2xG/W
h4E8H1rGgK8QHi2RXAU41JFjueV8LEi3jWY7MrY7ySv5whCo+uhJajYKyOB41M0U
yS1V2ARqnG0+o6mHLkQ0Lee1kA/9MSDTOAzROzXgakX40g7gAEV24wV5rd1teBWn
hWUeHhQ2X23QocfWnjxC3TRQnSkMZK3aD7VD5acwuf/dsA0LE3FUV2KzaPo15f2x
z0KtbN1n5S7UeGtuphQDxUM/HqLSuZNjreCY5HQtaX7FFk1hgtnY3XFqDOjcpaSN
mMVaABOX9nR5wTuHRbLeJGehfBv9Zv7xKTXTA50d9FEZJwPdxQiJ1VAzUTMq5K6u
jRri2zkkBMeZ39oBh8NJz5zFWQ+o463Moa7x2j/Y2czIBxa6WUFsoBlId8iq5Yc6
VXaX8oRjk6W3n3WJ32a0ROaRqx+c3ROwT8hYv/pkVUC8M+AcOfRTGhlJAWNlmbOj
u9qM/38gSoVSpgSwL5LT6cPWBcxS7S9W/N+hpwvJg5AJTsO4MFAq2dM2M4/9XwiI
mhc8e0HZcm9R4+2Ht/YCiO8LiCopjmEve7ogZ3JDTboVFp+cKkv9PaA0ZzWq2nD7
cgUeSAp2W1zDOgoVwKXdau73uwBrFZwd+R5SSERFGMNIJa+Grsodq2/JStHB+x4x
t2MNYiQa5ZKT/Rm6vURK
=WWC5
-----END PGP SIGNATURE-----

--X7nGIjR8e0g5glRe7RiFCUxPGP9SvoU8u--

