Re: How to change locale



Kaixo!

On Wed, Mar 07, 2001 at 02:11:25PM +0100, Keld Jørn Simonsen wrote:

> >     how can I change 'on the fly' my locale? it's italian now, but I would
> 
> setenv LANG en

That is not enough, $LANG is the less powerfull of all (that is, it may be
overriden by almost all other locale related variables! Defining LANG may
very well have no effect at all).

I sugest defining LC_ALL instead.

> or in bash
> LANGUAGE=en
> export LANGUAGE

And also LANGUAGE.

LC_ALL (LC_CTYPE in fact) is needed to correctly set the fontset;
LANGUAGE is the one selecting the language to display in translations,
but LANGUAGE=ru won't work if your locale cannot display cyrillic;
to be sure you need to define both LANGUAGE and LC_CTYPE (or LC_ALL which
overrides all LC_* variables).

When I want to test I do:  LC_ALL=ru LANGUAGE=ru gnomine


-- 
Ki ça vos våye bén,
Pablo Saratxaga

http://www.srtxg.easynet.be/		PGP Key available, key ID: 0x8F0E4975




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