[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: locale not set properly



On Wed, 23 Jan 2002 12:02:30 +0200,
Johann Spies <jspies@sun.ac.za> wrote:

> This is what was in my /etc/environment after the correction:
> 
> LANG=POSIX
> LC_CTYPE="POSIX"
> LC_NUMERIC="POSIX"
> LC_TIME=it_IT.ISO-8859-1
> LC_COLLATE="POSIX"
> LC_MONETARY="POSIX"
> LC_MESSAGES="POSIX"
> LANGUAGE="en_ZA"
> LC_ALL="POSIX"
> ---------------------------------------
> 11:10:08 root@bywoner:/etc/webmin# locale-gen
> Generating locales...
>   af_ZA.ISO-8859-1... done
>   en_ZA.ISO-8859-1... done
> Generation complete.

If you want to use it_IT.ISO-8859-1, select it by
`dpkg-reconfigure locales'.

And I suggest this:

-- /etc/environment --
LANG=en_ZA
LC_TIME=it_IT.ISO-8859-1
----

This means `basically en_ZA, but it_IT.ISO-8859-1 time formats'.

LANG is a basic variable for the locale.  And, set LC_* if you want.

LC_ALL and LANGUAGE have a very high priority.  Usually, 
unset these.

-- 
Tatsuya Kinoshita



Reply to: