Difference between revisions of "CentOS Default Language"

From PeTechWiki
Jump to navigationJump to search
(Created page with " Reference: [http://www.centos.org/docs/5/html/5.1/Deployment_Guide/s2-sysconfig-i18n.html 28.1.13. /etc/sysconfig/i18n] Edit the /etc/sysconfig/i18n file to set the default ...")
 
m
 
Line 12: Line 12:
 
  LANG=en_US.utf-8
 
  LANG=en_US.utf-8
 
  LC_ALL=en_US.utf-8
 
  LC_ALL=en_US.utf-8
 +
 +
 +
[[Category:Linux]]

Latest revision as of 14:08, 20 September 2013

Reference: 28.1.13. /etc/sysconfig/i18n

Edit the /etc/sysconfig/i18n file to set the default language, any supported languages, and the default system font.
For example:

LANG="en_US.UTF-8"
SUPPORTED="en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"

Specify utf-8 default locale

Reference: CentOS 6.2 setlocale issue

Edit /etc/environment to contain the following:

LANG=en_US.utf-8
LC_ALL=en_US.utf-8