Locale Config

General support questions including new installations
Post Reply
madcapone
Posts: 5
Joined: 2008/04/05 05:19:00

Locale Config

Post by madcapone » 2008/04/05 05:48:14

Hi everyone!

When I run [b]locale[/b] in the terminal, this is the output:
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=


I'd like to change all that to pt_BR.iso88591 or whatever will change my charset to Brazilian Portuguese Latin. Is there an easy to follow step-by-step? =)


This is part of the output for [b]locale -a[/b]:
pt_BR
pt_BR.iso88591
pt_BR.utf8
pt_PT
pt_PT@euro
pt_PT.iso88591
pt_PT.iso885915@euro
pt_PT.utf8


Thanks in advance.

gotrunks
Posts: 1
Joined: 2008/05/05 07:27:47

Re: Locale Config

Post by gotrunks » 2008/05/05 07:53:31

Hi all

I have the same problem.


I want to use en_GB.UTF-8 for all locale vars.

I`m Debian user, I can type dpkg-reconfigure locales to do this, but in CentOS I down know wich is the command (or the way) to do it.


Can anybody help us?

Best Regards
David

scottro
Forum Moderator
Posts: 2526
Joined: 2007/09/03 21:18:09
Location: NYC
Contact:

Locale Config

Post by scottro » 2008/05/05 16:00:38

There is an /etc/sysconfig/i18n file where you can set Language. For example, mine reads

LANG="en_US.UTF-8"
SYSFONT="latarcyrheb-sun16"
i18n (END)

Post Reply

Return to “CentOS 4 - General Support”