车立方" type="application/atom+xml">

hahakubile Blog, Powered by 车立方

Welcome to hahakubile's blog, You should know him. Thanks to 车立方

Ubuntu Config Locale With zh_CN.UTF-8

查看系统内安装的locale

locale -a

查看当前系统语言环境

locale

安装语言包: zh_CN.utf8

cd /usr/share/locales

./install-language-pack zh_CN

设为默认

sudo vim /etc/default/locale

修改为:

LANG="zh_CN.UTF-8"

LANGUAGE="zh_CN:zh"

重启shell,OK