From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-user+bounces-112091-garchives=archives.gentoo.org@lists.gentoo.org>) id 1OSVd1-0004wM-UU for garchives@archives.gentoo.org; Sat, 26 Jun 2010 13:41:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77E06E0973; Sat, 26 Jun 2010 13:40:11 +0000 (UTC) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 361A8E0973 for <gentoo-user@lists.gentoo.org>; Sat, 26 Jun 2010 13:40:10 +0000 (UTC) Received: by wwb17 with SMTP id 17so1692062wwb.40 for <gentoo-user@lists.gentoo.org>; Sat, 26 Jun 2010 06:40:10 -0700 (PDT) Received: by 10.216.90.130 with SMTP id e2mr6131594wef.99.1277559610216; Sat, 26 Jun 2010 06:40:10 -0700 (PDT) Received: from [192.168.1.78] (host86-143-106-175.range86-143.btcentralplus.com [86.143.106.175]) by mx.google.com with ESMTPS id n52sm911146wee.31.2010.06.26.06.40.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 26 Jun 2010 06:40:09 -0700 (PDT) Sender: Christopher Swift <christopher.swift@ubuntu-cym.org> Subject: Re: [gentoo-user] Questions regarding the usage of multiple locales From: Christopher Swift <christopher.swift@linux.com> To: gentoo-user@lists.gentoo.org In-Reply-To: <201006261338.59975.michaelkintzios@gmail.com> References: <1277169274.32558.6.camel@ianto-gentoo-amd.home> <201006261359.07852.wonko@wonkology.org> <1277554838.8753.26.camel@rattus> <201006261338.59975.michaelkintzios@gmail.com> Content-Type: text/plain; charset="UTF-8" Date: Sat, 26 Jun 2010 14:41:17 +0100 Message-ID: <1277559677.4414.3.camel@ianto-gentoo-amd.home> Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.28.3.1 Content-Transfer-Encoding: 7bit X-Archives-Salt: d6c4d115-f71a-4d35-8ab1-bfc95ea645b2 X-Archives-Hash: 72114a643b51920ed7ec5e1198017963 On Sat, 2010-06-26 at 13:38 +0100, Mick wrote: > On Saturday 26 June 2010 13:20:38 William Kenworthy wrote: > > On Sat, 2010-06-26 at 13:59 +0200, Alex Schuster wrote: > > > Mick writes: > > > > On Saturday 26 June 2010 12:10:02 Alex Schuster wrote: > > > > > Your aterm is configured as a login shell, and as such reads > > > > You might want to read this and set up your locales properly. > > > > http://www.gentoo.org/doc/en/guide-localization.xml > > Thanks Bill, that's where I started, but I am getting confused with the way my > system and various terminals respond to the suggested files/settings. > > The only way to see the locales I entered in /etc/env.d/02locale is by > launching a terminal (aterm, xterm, urxvt) and 'su -' to root. In all other > cases US locales seem to take over (although the LANG setting appears to be > working). In my /etc/env.d/02locale file, it reads as the following: LANG="en_GB.UTF-8" LC_COLLATE="C" When running "locale" as either root or any other user I get: chris@ianto-gentoo-amd ~ $ locale LANG=en_GB.UTF-8 LC_CTYPE="en_GB.UTF-8" LC_NUMERIC="en_GB.UTF-8" LC_TIME="en_GB.UTF-8" LC_COLLATE=C LC_MONETARY="en_GB.UTF-8" LC_MESSAGES="en_GB.UTF-8" LC_PAPER="en_GB.UTF-8" LC_NAME="en_GB.UTF-8" LC_ADDRESS="en_GB.UTF-8" LC_TELEPHONE="en_GB.UTF-8" LC_MEASUREMENT="en_GB.UTF-8" LC_IDENTIFICATION="en_GB.UTF-8" LC_ALL= If you want en_GB I recommend that you change it to what I've got in my 02locale file and then run the following command as root: $ env-update && source /etc/profile This is what I've used to globally set en_GB as the default language. Hope this helps, Chris.