中文语言包:

language-pack-zh-hans 简体中文

language-pack-zh-hans-base

language-pack-zh-hant 繁体中文

language-pack-zh-hant-base

sudo apt-get install  language-pack-zh-han*
sudo apt install $(check-language-support)
vim /etc/default/locale
将原始内容注释掉或删掉,替换为如下内容:
LANG="zh_CN.UTF-8"
LANGUAGE="zh_CN:zh"
LC_NUMERIC="zh_CN"
LC_TIME="zh_CN"
LC_MONETARY="zh_CN"
LC_PAPER="zh_CN"
LC_NAME="zh_CN"
LC_ADDRESS="zh_CN"
LC_TELEPHONE="zh_CN"
LC_MEASUREMENT="zh_CN"
LC_IDENTIFICATION="zh_CN"
LC_ALL="zh_CN.UTF-8"

#修改环境文件(环境变量(所有用户)):
vim /etc/profile
不修改原有内容,直接在原内容下面新开一行加入下列内容:
LANG="zh_CN.UTF-8"


修改环境文件(环境变量(当前用户)):
vim /etc/environment
不修改原有内容,直接在原内容下面新开一行加入下列内容:
LANG="zh_CN.UTF-8"
LANGUAGE="zh_CN:zh"
LC_NUMERIC="zh_CN"
LC_TIME="zh_CN"
LC_MONETARY="zh_CN"
LC_PAPER="zh_CN"
LC_NAME="zh_CN"
LC_ADDRESS="zh_CN"
LC_TELEPHONE="zh_CN"
LC_MEASUREMENT="zh_CN"
LC_IDENTIFICATION="zh_CN"
LC_ALL="zh_CN.UTF-8"

reboot