1. select locales:centos
2. set language:spa
1 sudo localectl set-locale LANG=zh_CN.utf8 2 sudo localectl set-locale LANGUAGE=zh_CN.utf8 3 sudo localectl set-locale LC_ALL=zh_CN.utf8
3. sudo reboot3d
-----------------------------------------------code
centos默認已經選擇了不少locales,直接執行步驟2就能夠了。 blog