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 ) id 1MPPBC-0002j7-Mr for garchives@archives.gentoo.org; Fri, 10 Jul 2009 23:06:59 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A086BE0343; Fri, 10 Jul 2009 23:06:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 7BFC8E0343 for ; Fri, 10 Jul 2009 23:06:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 1D8DE66814 for ; Fri, 10 Jul 2009 23:06:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -4.065 X-Spam-Level: X-Spam-Status: No, score=-4.065 required=5.5 tests=[AWL=-0.466, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uG8lwoL8T4qd for ; Fri, 10 Jul 2009 23:06:15 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 1E78E668EE for ; Fri, 10 Jul 2009 23:06:12 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MPPAO-0007QR-Sq for gentoo-user@gentoo.org; Fri, 10 Jul 2009 23:06:08 +0000 Received: from adsl-69-234-182-209.dsl.irvnca.pacbell.net ([69.234.182.209]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Jul 2009 23:06:08 +0000 Received: from w41ter by adsl-69-234-182-209.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Jul 2009 23:06:08 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: walt Subject: [gentoo-user] Re: LC_ locale settings for UK / GB. Date: Fri, 10 Jul 2009 16:05:52 -0700 Message-ID: References: <6DF38B2C-68C3-4B3A-8AC2-9F4E1990218A@stellar.eclipse.co.uk> 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 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: adsl-69-234-182-209.dsl.irvnca.pacbell.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.1pre) Gecko/20090710 Shredder/3.0b3pre In-Reply-To: <6DF38B2C-68C3-4B3A-8AC2-9F4E1990218A@stellar.eclipse.co.uk> Sender: news X-Archives-Salt: f472259a-ab37-47fc-bdbe-4d855561d24b X-Archives-Hash: 2475bb24888c48d382b2dbcc33c29d19 On 07/10/2009 02:48 PM, Stroller wrote: > ... > Solution: To properly set the locale charset make sure the LC_* > environment variables are set... > > > Googling "LC_* environment variables" turns up this doc: > http://www.gentoo.org/doc/en/guide-localization.xml#doc_chap3 > > I assume this document is correct & up to date? > (and is not superseded by the LINGUAS="en_GB en" that I have in make.conf) As far as I know the LINGUAS variable is used only during the building of packages, and is not related to the LANGUAGE or LC variables. If I'm wrong then someone correct me, please. I've been vague about this for years. To discover what locales you have in /usr/share/locale, type 'locale -a' at a shell prompt. If you emerged glibc with your LINGUAS variable set to en_GB en then you may have only English-oriented locales listed, In any case you should easily spot what you need in the output of locale -a | grep GB. Unless you have some very arcane lanuage needs you can just set the value of LC_ALL instead of worrying about nine different ones. Here is my /etc/env.d/02locale as an example from the colonies, which of course is unsuitable for a truly civilized country: $cat /etc/env.d/02locale LC_ALL="en_US.UTF-8" LANG="en_US.UTF-8" LANGUAGE="en_US.UTF-8" LINGUAS="" ALL_LINGUAS="" The redundancy in that file is probably overkill because I didn't know exactly what to include. It may well be that some of those don't need to be there, and someone who knows will enlighten us both :o)