locale
LANG=zh_CN.utf8 \LANG=zh_CN.utf8表明已安裝簡體中文
LC_CTYPE="zh_CN.utf8"
LC_NUMERIC="zh_CN.utf8"
LC_TIME="zh_CN.utf8"
LC_COLLATE="zh_CN.utf8"
LC_MONETARY="zh_CN.utf8"
LC_MESSAGES="zh_CN.utf8"
LC_PAPER="zh_CN.utf8"
LC_NAME="zh_CN.utf8"
LC_ADDRESS="zh_CN.utf8"
LC_TELEPHONE="zh_CN.utf8"
LC_MEASUREMENT="zh_CN.utf8"
LC_IDENTIFICATION="zh_CN.utf8"
LC_ALL=
locale -a
有zh_XX表明有中文語言包,其中zh_CN表明簡體中文。vim
若是沒有就下載嘍spa
yum install kde-l10n-Chinese
vim /etc/locale.confcode
將 LANG="en_US.UTF-8" 改成 LANG="zh_CN.UTF-8"
而後重啓reboot
blog
OK!圖片