Locale? [ does anyone on the list understand locale? ]

Tony Nelson tonynelson at georgeanelson.com
Sun Feb 12 20:20:52 UTC 2006


At 11:29 PM -0800 2/11/06, Jonathan Ryshpan wrote:
>Judging from the answers I've got, other threads on this list, and what
>I've seen on the web, locale is a very badly understood topic that
>should be understood better.
>
>Therefor, I'm repeating these:
>
>> Questions
>>
>> (1) How is the locale set?  It's easy to read it: just type "$ locale".
>> (2) How does the locale relate to the environment variables LC_*?
>> (3) How does the locale control the paper size?  "$ locale" prints out a
>> value for LC_PAPER, but "man 7 locale" doesn't refer to it.
>>
>> BTW: I was advised to "$ echo letter > /etc/papersize", to get groff to
>> emit the right kind of output.  It doesn't work.
>>
>> Also have been advised to edit /etc/sysconfig/i18n but it's not clear
>> just what to put into it.

Grepping around, I think that /etc/profile.d/lang.sh sets the locale from
/etc/sysconfig/i18n and $HOME/.i18n (if it exists -- I don't have one).
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
      '                              <http://www.georgeanelson.com/>




More information about the users mailing list