Files
lag2cn/README.md
T
TheWhiteDog9487 35957099c8 优化Debian的逻辑,实际上只需要生成locale然后update-locale就可以了
更新兼容性列表
优化对于WSL的判断
2026-05-24 14:31:35 +08:00

35 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 一键切换Ubuntu(和Debian)系统到简体中文
## 测试通过的系统
### **x86_64**
|系统名称|版本|
|-|-|
|Debian|13.2 <br/> 11.6|
|Ubuntu|25.04 <br/> 24.10 <br/> 24.04.1 LTS <br/> 22.04 LTS <br/> 20.04 LTS|
### **aarch64**
|系统名称|版本|
|-|-|
|Debian|11.5|
## 使用方法
### **x86_64**
```shell
sudo -E su
# 如果是WSL环境必须使用-E参数保留环境变量,否则权限提升之后WSL_DISTRO_NAME会消失
# 如果不是WSL,可以不加这个参数,只提权就好
apt update && apt install -y wget
wget https://github.com/TheWhiteDog9487/ubuntu-language-onekey-zh_cn/releases/latest/download/language
chmod +x language
./language
```
### **aarch64**
```shell
sudo -E su
# 如果是WSL环境必须使用-E参数保留环境变量,否则权限提升之后WSL_DISTRO_NAME会消失
# 如果不是WSL,可以不加这个参数,只提权就好
apt update && apt install -y wget
wget https://github.com/TheWhiteDog9487/ubuntu-language-onekey-zh_cn/releases/latest/download/language_arm
chmod +x language_arm
./language_arm
```