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

Re: Language and locale setting in /root/dbootstrap_setting

On Tue, 2002-02-12 at 11:08, Petter Reinholdtsen wrote:
> [Phil Blundell]
> > If you are putting "en_US.ISO-8859-1" in $LANG, you need to put
> > "en_US.ISO-8859-1 ISO-8859-1" in /etc/locale.gen.  But yes, "." is
> > always the separator for the character set part.
> Are you sure?  I believe this is wrong.  I use LANG=no_NO.ISO-8859-1
> but only need 'no_NO ISO-8859-1' in /etc/locale.gen.

It doesn't seem to work for me.  My /etc/locale.gen includes:

fr_FR ISO-8559-1
de_DE.ISO-8859-1 ISO-8859-1

If I do "LANG=fr_FR ls --help", I get the French help text; if I do
"LANG=fr_FR.ISO-8859-1 ls --help", the messages come out in English. 
Conversely, "de_DE" gives me English and "de_DE.ISO-8859-1" gives me

So it seems that an exact match is required.  I admit this is scarcely
an exhaustive test, though.


Reply to: