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 1L9jWG-0007JH-7h for garchives@archives.gentoo.org; Mon, 08 Dec 2008 17:03:40 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B2305E0439; Mon, 8 Dec 2008 17:03:37 +0000 (UTC) Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.120]) by pigeon.gentoo.org (Postfix) with ESMTP id 973E2E0439 for ; Mon, 8 Dec 2008 17:03:37 +0000 (UTC) Received: from basement.kutulu.org ([70.121.200.185]) by cdptpa-omta03.mail.rr.com with ESMTP id <20081208170337.KVOQ5190.cdptpa-omta03.mail.rr.com@basement.kutulu.org> for ; Mon, 8 Dec 2008 17:03:37 +0000 Received: by basement.kutulu.org (Postfix, from userid 58) id E138911459; Mon, 8 Dec 2008 12:03:36 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on basement.kutulu.org X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.5 Received: from [127.0.0.1] (localhost [127.0.0.1]) by basement.kutulu.org (Postfix) with ESMTPS id 1AD611143D for ; Mon, 8 Dec 2008 12:03:35 -0500 (EST) Message-ID: <493D5366.4070802@kutulu.org> Date: Mon, 08 Dec 2008 12:03:34 -0500 From: Mike Edenfield User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] locale issue to clean up References: <5bdc1c8b0812071335x51af155cn6a497a0d2449d266@mail.gmail.com> <493C464B.1010205@gmail.com> <5bdc1c8b0812071517i6ef5804dr2c3f6a5a4c94@mail.gmail.com> <493C65E7.1090607@kutulu.org> <5bdc1c8b0812071642x1776c539j320fa179707f5e67@mail.gmail.com> <493C74EE.7050109@gmail.com> <5bdc1c8b0812071910l1beab0e8s6d6124954689a677@mail.gmail.com> In-Reply-To: <5bdc1c8b0812071910l1beab0e8s6d6124954689a677@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 09c66570-92f3-4f65-a4da-0ae092c3a179 X-Archives-Hash: 6e5a079f331aa12ec0090de5c3fa2d91 Mark Knecht wrote: > You may be correct about setting all of this in 02locale. I noticed > that the Gentoo formatting stuff for vi is treating LC_ALL and > LC_COLLATE differently than LINGUAS. The manual seems to say set > system wide stuff in 02locale and user stuff in your own account. They are different. LINGUAS is a build-time hint for localized programs that lists which languages you want translations for. It has no effect at run-time other than ensuring that your selected languages are available. The LC_* variables, and LANG, are run-time settings that tell the C library which locale to use. LC_COLLATE, for example, tells vi how to sort things alphabetically. Just as an aside, I see frequent warnings not to set LC_ALL because it's "dangerous", but that seems like a vast overreaction to me. LC_ALL is a global setting that overrides all of the other LC_ variables with a single setting. The "danger" is that you cannot then individually override the behavior, say to use a different currency or sorting format, but IMO the people who need to do that are the exception, and would clearly know how to do it. For a single user system with a single locale where all the LC_* variables have the same value anyway, setting LC_ALL to "en_US" and settings the other half-dozen LC_* variables to "en_US" has the same effect.