mirror of
https://github.com/TheWhiteDog9487/lag2cn.git
synced 2026-10-08 09:01:14 +08:00
WSL也需要安装语言包,不然像nano这样的还是没中文
This commit is contained in:
1 parent
3f8daf2607
commit
85b148f463
1 file changed
+1
@@ -102,6 +102,7 @@ auto check() {
|
|||||||
|
|
||||||
auto WSL(){
|
auto WSL(){
|
||||||
cout << "开始更新语言配置" << endl;
|
cout << "开始更新语言配置" << endl;
|
||||||
|
system("apt install -y language-pack-zh-hans");
|
||||||
system("update-locale LANG=zh_CN.UTF-8");
|
system("update-locale LANG=zh_CN.UTF-8");
|
||||||
cout << "语言配置更新完成" << endl;
|
cout << "语言配置更新完成" << endl;
|
||||||
cout << "更新语言配置需要重启WSL,要现在重启吗?" << endl;
|
cout << "更新语言配置需要重启WSL,要现在重启吗?" << endl;
|
||||||
|
|||||||
Reference in new issue
Block a user