Change the system language to English from Chinese
Change the system language to English from Chinese
1. Check the Language.
[root@example network-scripts]# locale
LANG=zh_CN.UTF-8
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=
2. Edit the file /etc/sysconfig/i18n
[root@example network-scripts]# cat /etc/sysconfig/i18n
#LANG="zh_CN.UTF-8"
LANG="en_US.ISO88591"
[root@example network-scripts]#
3. Logout from the current user.
4. Login again and Check the locale again.
[root@example ~]# locale
LANG=en_US.ISO88591
LC_CTYPE="en_US.ISO88591"
LC_NUMERIC="en_US.ISO88591"
LC_TIME="en_US.ISO88591"
LC_COLLATE="en_US.ISO88591"
LC_MONETARY="en_US.ISO88591"
LC_MESSAGES="en_US.ISO88591"
LC_PAPER="en_US.ISO88591"
LC_NAME="en_US.ISO88591"
LC_ADDRESS="en_US.ISO88591"
LC_TELEPHONE="en_US.ISO88591"
LC_MEASUREMENT="en_US.ISO88591"
LC_IDENTIFICATION="en_US.ISO88591"
LC_ALL=
1. Check the Language.
[root@example network-scripts]# locale
LANG=zh_CN.UTF-8
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=
2. Edit the file /etc/sysconfig/i18n
[root@example network-scripts]# cat /etc/sysconfig/i18n
#LANG="zh_CN.UTF-8"
LANG="en_US.ISO88591"
[root@example network-scripts]#
3. Logout from the current user.
4. Login again and Check the locale again.
[root@example ~]# locale
LANG=en_US.ISO88591
LC_CTYPE="en_US.ISO88591"
LC_NUMERIC="en_US.ISO88591"
LC_TIME="en_US.ISO88591"
LC_COLLATE="en_US.ISO88591"
LC_MONETARY="en_US.ISO88591"
LC_MESSAGES="en_US.ISO88591"
LC_PAPER="en_US.ISO88591"
LC_NAME="en_US.ISO88591"
LC_ADDRESS="en_US.ISO88591"
LC_TELEPHONE="en_US.ISO88591"
LC_MEASUREMENT="en_US.ISO88591"
LC_IDENTIFICATION="en_US.ISO88591"
LC_ALL=
No comments