arch-image-builder/configs/locale/zh-cn.yaml

53 lines
1012 B
YAML
Raw Normal View History

# I18N for Chinese (Simplified)
locale:
enable:
- "zh_CN.UTF-8 UTF-8"
- "en_US.UTF-8 UTF-8"
default: zh_CN.UTF-8
filesystem:
files:
# Wireless regulatory
- path: /etc/conf.d/wireless-regdom
content: |
WIRELESS_REGDOM="CN"
# China accelerated DNS
- path: /etc/systemd/resolved.conf.d/cn-dns.conf
content: |
[Resolve]
DNS=114.114.114.114 119.29.29.29
FallbackDNS=114.114.114.114 119.29.29.29
# China accelerated NTP Server
- path: /etc/systemd/timesyncd.conf.d/cn-ntp.conf
content: |
[Time]
NTP=cn.ntp.org.cn
pacman:
install:
# Fonts for CJK language
- noto-fonts-cjk
- wqy-bitmapfont
- wqy-microhei
- wqy-microhei-lite
- wqy-zenhei
# Input method for Chinese
- ibus
- ibus-libpinyin
sysconf:
environments:
GTK_IM_MODULE: ibus
QT_IM_MODULE: ibus
XMODIFIERS: '@im=ibus'
COUNTRY: CN
LANG: zh_CN.UTF-8
LANGUAGE: zh_CN.UTF-8
LC_ALL: zh_CN.UTF-8
TZ: Asia/Shanghai
timezone: Asia/Shanghai