Mailing List Archive


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

[tlug] Re: locale issues



Eric O. Flores wrote:

> Current .i18n file content
> 
> LC_MONETARY=en_US
> LC_CTYPE=en_US
> LC_NUMERIC=en_US
> LC_MESSAGES=en_US
> LANGUAGE=C
> LC_TIME=en_US
> LC_COLLATE=en_US
> LANG=C

This is pretty redundant.
LC_* inherits the value of LANG unless you set it to a different value.
So

LANG=en_US

will implicitly set all LC_* to en_US (Well it does not actually set
the environment variables but is treated as if).
You can see this using the "locale" command. Values in '"' are
implicitly set, those without have been directly set.

> Previous .i18n (kde login permitted) with locales set to language=C Country=Japan Character set=iso-8859-1
> 
> LC_MONETARY=ja_JP
> LC_CTYPE=ja
           ^^ should be ja_JP too.
> LC_NUMERIC=ja_JP
> LC_MESSAGES=en_US
> LANGUAGE=C
           ^ AFAIK this is supposed to be a real language name, e.g.
             "japanese", "english" or in order of preference
             "english,japanese"
> LC_TIME=en_US
> LC_COLLATE=en_US
> LANG=ja_JP

This would then be equivalent to

LANG=ja_JP         # default
LC_TIME=en_US      # deviations from default
LC_COLLATE=en_US
LC_MESSAGES=en_US

-- 
Tobias								PGP: 0x9AC7E0BC
This mail is made of 100% recycled bits

Attachment: pgp00003.pgp
Description: PGP signature


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links