-
-
Notifications
You must be signed in to change notification settings - Fork 317
Description
Describe the bug
-
zh_Hansandzh_Hantare not language codes actually used in Linux desktop. -
zh_CN/zh_HK/zh_SG/zh_TWare the language codes actually used in Linux desktop, whereCN/SGuseHans, andHK/TWuseHant. -
I created symlinks for them and added the actual used language code to
LINGUAS, after this PR, the Chinese translation can be actually used: i18n: add regional variants of Chinese as symbolic links #1515 -
But unfortunately, this commit was quickly overwritten by b91be85,
zh_CN/zh_HK/zh_SG/zh_TWwas removed fromLINGUAS, and the Chinese translation is again unavailable to actual users.
To Reproduce
-
Switch to any Chinese locale.
-
Run Bottles.
-
Bottles are not loaded with Chinese translation.
-
Run this command:
env | grep LANGYou may get one of the following codes:
LANGUAGE=zh_CN LANGUAGE=zh_HK LANGUAGE=zh_SG LANGUAGE=zh_TWYou have no chance of getting the following code:
LANGUAGE=zh_Hans LANGUAGE=zh_Hant -
Run this command:
cat /etc/locale.gen | grep zhYou will get:
#lzh_TW UTF-8 #zh_CN.GB18030 GB18030 #zh_CN.GBK GBK #zh_CN.UTF-8 UTF-8 #zh_CN GB2312 #zh_HK.UTF-8 UTF-8 #zh_HK BIG5-HKSCS #zh_SG.UTF-8 UTF-8 #zh_SG.GBK GBK #zh_SG GB2312 #zh_TW.EUC-TW EUC-TW #zh_TW.UTF-8 UTF-8 #zh_TW BIG5And
zh_Hansandzh_Hantare not among them. -
Therefore, it is meaningless to keep only
zh_Hansandzh_HantinLINGUASfor actual Chinese users, we needzh_CN/zh_HK/zh_SG/zh_TWalso in it.
Package
Flatpak from Flathub
Distribution
Arch linux
Health Check
Version: 2022.6.28-brescia
Display:
X.org: true
X.org (port): :99.0
Wayland: false
Graphics:
vendors:
nvidia: &id002
vendor: nvidia
envs:
__NV_PRIME_RENDER_OFFLOAD: '1'
__GLX_VENDOR_LIBRARY_NAME: nvidia
__VK_LAYER_NV_optimus: NVIDIA_only
icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/nvidia_icd.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/nvidia_icd.json
amd: &id001
vendor: amd
envs:
DRI_PRIME: '1'
icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/radeon_icd.i686.json
prime:
integrated: *id001
discrete: *id002
Kernel:
Type: Linux
Version: 5.17.9-arch1-1
Distro:
Name: GNOME
Version: '"42 (Flatpak runtime)"'
Disk:
Total: 33444196352
Free: 33444040704
RAM:
MemTotal: 62.3GiB
MemAvailable: 57.8GiB
Tools:
cabextract: true
p7zip: true
patool: true
glibc_min: '2.33'
Bottles_envs: nullDisplay Protocol
X11
Display Backend used by Bottles
X11
Additional context
No response