On Wed, Nov 16, 2005 at 12:16:39AM +0100, Jaroslaw Swierczynski wrote:
> Yes, I want to and I always do that. So perhaps rc.conf should allow
> this. The present LOCALE variable is confusing as it sets only a
> language. I suggest to make the LOCALE variable set LC_ALL and create
> a LANGUAGE variable that would set LANG.
I'm not sure why you need LC_ALL unless you are explicitly setting other
LC_ variables to different values. The LANG variable will cover all LC_
variables unless they were set otherwise.
This is from 'man locale'. Additional locale variable definitions can
be found in the 'localedef' manpage.
[snip]
ENVIRONMENT VARIABLES
The following environment variables shall affect the execution of
locale:
LANG Provide a default value for the internationalization variables
that are unset or null. (See the Base Definitions volume of
IEEE Std 1003.1-2001, Section 8.2, Internationalization Vari-
ables for the precedence of internationalization variables used
to determine the values of locale categories.)
LC_ALL If set to a non-empty string value, override the values of all
the other internationalization variables.
[/snip]
So if LANG is set and other LC_ variables are not, LANG will be the
default locale. Does this not work for you?
- J
_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch