CentOS Default Language

From PeTechWiki
Jump to navigationJump to search

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