分类: Linux
Debian11修改系统默认语言编码

Debian系统默认语言编码配置文件为:/etc/default/locale
修改为中文:

cat /etc/default/locale
#  File generated by update-locale
LANG="zh_CN.UTF-8"
LANGUAGE="zh_CN:zh"

修改为英文:

cat /etc/default/locale
#  File generated by update-locale
LANG="en_US.UTF-8"
LANGUAGE="en_US:en"

重新载入加载生效:

source /etc/default/locale


相关博文:

发表新评论