sh/ubuntu-lang.sh

4 lines
152 B
Bash
Raw Normal View History

2025-01-10 13:48:43 +08:00
apt update && sudo apt upgrade -y
apt install language-pack-zh-hans fonts-noto-cjk
locale-gen zh_CN.UTF-8
echo "LANG=zh_CN.UTF-8" | tee /etc/locale.conf