From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E16AB138CD3 for ; Fri, 29 May 2015 18:47:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A4964E0912; Fri, 29 May 2015 18:47:50 +0000 (UTC) Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5EB16E08F2 for ; Fri, 29 May 2015 18:47:49 +0000 (UTC) Received: by wivl4 with SMTP id l4so25873475wiv.1 for ; Fri, 29 May 2015 11:47:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=SnQYAFoUj/3lAcys3rsQdkmsXojhxbeL4+2aEsPkIO0=; b=HAbzSTSayo8vw+N2O1I7luBJE9or0MLIOo4BLHEeYdfBQK/v8y5qzKppzYi9Cp4o7u cR3H1jVSSvZGS9a7A430vLBNJD8LUlD+mXDeOm8NZOOMjB/ZcrN9Nqn3WoC9p3fLHVOp ZgaNkCiKvZ6PZvNZB27t1UKSC5bbC03+q46dGax1a/Y7FWsw2yuFZ3SOUwom3WGiMEUe ijiIZ6l4svY1esjhvpoMFGQQfZUjTgAW4dXO/TROhdA+PlEAvf+85uXdz9EWvMJTl2aI KL0769asJoWDaEKpAMrcwuBpgf5Tx4t3Iz8kHvJNw9tnf81qL4kg3ZQpgr3+tcJmUOYH yatw== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.180.208.99 with SMTP id md3mr9181652wic.34.1432925268371; Fri, 29 May 2015 11:47:48 -0700 (PDT) Received: by 10.27.178.16 with HTTP; Fri, 29 May 2015 11:47:48 -0700 (PDT) In-Reply-To: References: <55679984.9040907@googlemail.com> <5567ee21.a50b990a.5889.40a7@mx.google.com> Date: Fri, 29 May 2015 21:47:48 +0300 Message-ID: Subject: Re: [gentoo-user] Unwelcomed non-native language support From: gevisz To: "gentoo-user@lists.gentoo.org" Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 3c1cf2b8-44d4-4e08-ad42-e6dd33e12dd1 X-Archives-Hash: aba1cd2f4893edc13d242106e2e8b080 2015-05-29 10:08 GMT+03:00 Volker Armin Hemmann : > just set LANGUAGE and LC_ALL. This does not work. Just tried to be sure. > 2015-05-29 6:35 GMT+02:00 Gevisz : >> >> On Thu, 28 May 2015 20:07:55 -0400 Mike Gilbert >> wrote: >> >> > On Thu, May 28, 2015 at 6:41 PM, Volker Armin Hemmann >> > wrote: >> > > Am 28.05.2015 um 17:35 schrieb gevisz: >> > >> In my everyday work at the computer, I read >> > >> and type at three or even four different languages. >> > >> >> > >> However, I do want to have all program menues >> > >> and system messages only in English. >> > >> >> > >> So, when I found out that it can be achieved by >> > >> setting -nls USE flag at my make.conf file, I did >> > >> it, recompiled the system and for a few weeks >> > >> enjoyed the full control of my Gentoo system. >> > >> >> > >> (As far as I can remember the gettext package >> > >> was successfully depcleaned from my Gentoo >> > >> system just after that.) >> > >> >> > >> However, after those few weeks (and some system >> > >> updates), I have noticed that my system started >> > >> to translate some "system" messages into one of >> > >> the languages I use but which is not my native language. >> > >> >> > >> Moreover, running >> > >> $ equery depends gettext >> > >> I get about two fullscreens of packages that supposedly >> > >> depend on gettext. Nevertheless, in all of them the -nls >> > >> USE flag is either unset or absent. >> > >> >> > >> I have tried to depclean the gettext package from my >> > >> system once again but portage just ignored my >> > >> $ emerge --depclean gettext >> > >> command. >> > >> >> > >> I think that it is some kind of a bug in the portage tree: >> > >> when I set -nls USE flag globally, I do expect that the "system" >> > >> messages will appear in English only and will not be translated >> > >> in any other language, but the system understands that as >> > >> I would have asked for a "non-native" language support. >> > >> >> > >> Of course, this is not my main problem in this life, but every >> > >> time I get the "system" messages translated into my non-native >> > >> language, I feel as I get a reminder that I do not have a full >> > >> control of my Gentoo system. >> > >> >> > >> So, my questions are: >> > >> 1. Is it a bug? >> > >> 2. How can I get rid of those unwelcomed translations in the right >> > >> way. >> > >> >> > >> >> > > >> > > 1. if a package hard depends on gettext, you can fiddle around with >> > > useflags as much as you want, it won't change. Not a bug. Just the way >> > > it is. >> > >> > Sometimes it is a bug and the ebuild doesn't need gettext >> > unconditionally. It takes some expertise to figure that out, however. >> >> I also think so. >> >> > > 2. environment variables. Set them. LANG, LANGUAGE and of course >> > > LC_ALL >> > > >> > >> > I would suggest setting LANG=foo_BAR.UTF-8 and >> > LC_MESSAGES=en_US.UTF-8. Where foo and BAR are your native language >> > and locale. >> >> I have >> # set LC_MESSAGES=en_US.UTF-8 >> but it have not changed anything. >> >> Or shall I change it in some config files and reboot the system? >> >> >