This commit is contained in:
2022-01-24 11:34:25 +08:00
commit 82d8ed35c9
4 changed files with 50 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
#include<cstdlib>
using namespace std;
int main(){
system("apt install -y language-pack-zh-hans");
system("locale-gen zh_CN.UTF-8");
system("mv /etc/default/locale /etc/default/locale.backup");
system("touch /etc/default/locale");
system("echo LANG=\"zh_CN.UTF-8\" > /etc/default/locale");
system("reboot");}