将ubuntu默认语言默认设置成中文,但是,日期中显示有乱码,语言包已经安装完整,解决办法:
root@mypc:~# cat /etc/default/locale
#LANG="zh_CN"
LANG="zh_CN.UTF-8"
LANGUAGE="zh_CN:zh"
LC_MESSAGES="zh_CN.UTF-8"
LC_CTYPE="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
第一行默认是:LANG="zh_CN",改为#LANG="zh_CN"
LANG="zh_CN.UTF-8"
LANGUAGE="zh_CN:zh"
LC_MESSAGES="zh_CN.UTF-8"
LC_CTYPE="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LANG="zh_CN.UTF-8"
重启系统解决!