public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Stroller <stroller@stellar.eclipse.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user]  Re: LC_ locale settings for UK / GB.
Date: Sat, 11 Jul 2009 21:13:14 +0100	[thread overview]
Message-ID: <7C081753-E829-47F7-92CA-AC961B33FE7D@stellar.eclipse.co.uk> (raw)
In-Reply-To: <h3am1t$uch$1@ger.gmane.org>


On 11 Jul 2009, at 19:35, walt wrote:

> On 07/10/2009 08:49 PM, ABCD wrote:
>> ...
>> Because I'm seeing some strange things in this thread, let me  
>> elucidate
>> as to what the various LANG/LC_* variables do:
>>
>> LANG
>>     sets the default for LC_*, if unset, defaults to "C"
>>
>> LC_CTYPE [charset]
>> LC_NUMERIC [number format]
>> LC_TIME [time format]
>> LC_COLLATE [sort order]
>> LC_MONETARY [money format]
>> LC_MESSAGES [message language]
>> LC_PAPER [paper size]
>> LC_NAME [given/family name format]
>> LC_ADDRESS [mailing address format]
>> LC_TELEPHONE [country code, etc.]
>> LC_MEASUREMENT [US customary, SI, etc.]
>> LC_IDENTIFICATION [???]
>>     Used as their names suggest, for the various things that can be
>>     done with locales.  Default to $LANG, if $LANG is unset, defaults
>>     to "C".
>>
>> LC_ALL
>>     Override for LC_*.  If LC_ALL is set, then LC_* is ignored, and  
>> the
>>     value of LC_ALL is used for everything. *Do not* set this in  
>> env.d
>>     unless you know exactly what you are doing.  (Setting LC_ALL=C to
>>     disable all locale settings, for instance).
>
> Thanks for the clarification.  The only reason I can think of for  
> *not*
> setting LC_ALL is that some users on a multi-user system might want to
> use a different language. Am I missing something else important?

I'm reading this as to *only* set LANG instead. I'm assuming there are  
occasions upon which a single program or package (at installation  
time, or perhaps in a run script) may wish to over-ride only some of  
the LC_* variables.

IE:

On 11 Jul 2009, at 00:02, Peter Ruskin wrote:
> This is what my 02locale file says:
> LANG="en_GB"
> LC_COLLATE="POSIX"
> LC_CTYPE="POSIX"
> LC_ALL="en_GB"

The last 3 lines should be removed?

If I do so:
$ cat  /etc/env.d/02locale
LANG="en_GB"
$

k3b gives no errors - in fact I get a "No problems found in system  
configuration" pop-up instead - on startup.

Stroller.




  reply	other threads:[~2009-07-11 20:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-10 21:48 [gentoo-user] LC_ locale settings for UK / GB Stroller
2009-07-10 23:02 ` Peter Ruskin
2009-07-10 23:19   ` [gentoo-user] " walt
2009-07-10 23:30   ` [gentoo-user] " Stroller
2009-07-10 23:05 ` [gentoo-user] " walt
2009-07-10 23:32   ` Stroller
2009-07-11  3:49 ` ABCD
2009-07-11 18:35   ` walt
2009-07-11 20:13     ` Stroller [this message]
2009-07-11 21:02       ` walt
2009-07-13 22:35       ` [gentoo-user] " ABCD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7C081753-E829-47F7-92CA-AC961B33FE7D@stellar.eclipse.co.uk \
    --to=stroller@stellar.eclipse.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox