1) modify the file:
/var/lib/locales/supported.d/locale
with:
en_US.UTF-8 UTF-8
zh_CN.UTF-8 UTF-8
zh_CN GB2312
2) execute:
locale-gen
本文介绍如何通过修改配置文件并执行生成命令来设置系统的多语言环境支持。具体步骤包括:1) 修改 /var/lib/locales/supported.d/locale 文件,添加所需语言的编码;2) 执行 locale-gen 命令完成语言环境的生成。
1) modify the file:
/var/lib/locales/supported.d/locale
with:
en_US.UTF-8 UTF-8
zh_CN.UTF-8 UTF-8
zh_CN GB2312
2) execute:
locale-gen
894
971

被折叠的 条评论
为什么被折叠?