1. select locales:
2. set language:
sudo localectl set-locale LANG=zh_CN.utf8
sudo localectl set-locale LANGUAGE=zh_CN.utf8
sudo localectl set-locale LC_ALL=zh_CN.utf8
3. sudo reboot
-----------------------------------------------
centos默认已经选择了很多locales,直接执行步骤2就可以了。