See all locale language
locale -a
locale -a | grep one
View the language echo $ LANG current operating system used
Set the system locale for the Chinese language environment (permanent):
vim/etc /locale.conf
LANG="zh_CN.UTF-8"
Set the system locale for the English language environment (permanent)
vim /etc/locale.conf
LANG="en_US.UTF-8"
Temporarily change the system locale language (quits the login fails immediately)
vim /etc/locale.conf
export LANG=zh_CN.UTF-8