From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LA7Ol-0002xL-KS for garchives@archives.gentoo.org; Tue, 09 Dec 2008 18:33:31 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6DFBEE045C; Tue, 9 Dec 2008 18:33:29 +0000 (UTC) Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.154]) by pigeon.gentoo.org (Postfix) with ESMTP id 199E2E045C for ; Tue, 9 Dec 2008 18:33:29 +0000 (UTC) Received: by yw-out-1718.google.com with SMTP id 5so50286ywm.46 for ; Tue, 09 Dec 2008 10:33:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=T+Rl0medU0oTQZybwcTdfzTCqLHaN+mvGSrQn7wdxhE=; b=F++nCGZFxIP/hH1UM4x09XAdq2xtA0zx+3MAXW3ZOFITso63VBDNkd2O8flvvcJQIH PDDq6Lfl4+FF1lFKJaDH2ELAsxOgxwbz2qcvzGIwG4sCalnwIy18CAm70IYRZMCA4xa1 7nw+JqoxhN3ROpyuZ7qr6z51t9hkibRXFYO4g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=hYYOcSjBFm8g6H/onWW3VqRwd/su19Wac8hepZgFeY25D1JVsUqhA1Rn30ckaHcOch 5XwfGAhFoxZjMX58Lm2UAnXau2TXIikvcqtL1d6YO+69VUYdZgOedEp3mGL3HlUzezL9 AmhG7dR2uN72+olDyw4T8+Tt35LZvCDsVy/qQ= Received: by 10.151.111.1 with SMTP id o1mr472445ybm.88.1228847608498; Tue, 09 Dec 2008 10:33:28 -0800 (PST) Received: by 10.150.200.21 with HTTP; Tue, 9 Dec 2008 10:33:28 -0800 (PST) Message-ID: <5bdc1c8b0812091033o3315f5fq42724bf941f234eb@mail.gmail.com> Date: Tue, 9 Dec 2008 10:33:28 -0800 From: "Mark Knecht" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] locale issue to clean up In-Reply-To: <493D711E.8020403@kutulu.org> 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=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5bdc1c8b0812071335x51af155cn6a497a0d2449d266@mail.gmail.com> <20081208011902.GA32576@princeton.edu> <5bdc1c8b0812071858p6141763ajfd254d68a54cea78@mail.gmail.com> <200812081725.05580.michaelkintzios@gmail.com> <493D711E.8020403@kutulu.org> X-Archives-Salt: b656bfb2-fda1-4a0d-b824-028fbc9f7acb X-Archives-Hash: 3adedba1baf78269d6797a988376629a On Mon, Dec 8, 2008 at 11:10 AM, Mike Edenfield wrote: > Mick wrote: > >> Now I am getting confused - at least one box of mine does not have >> /etc/env.d/02locale at all. Am I supposed to create it manually? > > The file isn't automatically created by anything, since strictly speaking > you can get away without using it. However, if you are going to add the > locale information to your environment, that file name in the env.d > directory is considered the correct way to do it. > > Without it, your locale is probably falling back to C or POSIX, the > defaults, which for the most part behave just like en_US anyway. It > certainly wouldn't hurt for you to explicitly set your locale and language > options. > It turned out that the 64-bit machine I was working on yesterday - my oldest Gentoo machine at home - didn't have much info in /etc/locale.gen. However two other 32-bit machines I'm updating today had some information that would have helped me a bit if I had had it. I attach it here for reference. What I get out of this is that everything having to do with glibc locales is located under /usr/share/i18n. The stuff located under /usr/share/locale is something else. Also, emerge glibc will update locales but once this is all set up correctly locale-gen will do the same thing. Cheers, Mark Sector9 ~ # cat /etc/locale.gen # /etc/locale.gen: list all of the locales you want to have on your system # # The format of each line: # # # Where is a locale located in /usr/share/i18n/locales/ and # where is a charmap located in /usr/share/i18n/charmaps/. # # All blank lines and lines starting with # are ignored. # # For the default list of supported combinations, see the file: # /usr/share/i18n/SUPPORTED # # Whenever glibc is emerged, the locales listed here will be automatically # rebuilt for you. After updating this file, you can simply run `locale-gen` # yourself instead of re-emerging glibc. en_US ISO-8859-1 en_US.UTF-8 UTF-8 Sector9 ~ #