You are not logged in.

#1 2021-06-18 06:34:49

Cyanides
Member
Registered: 2021-06-18
Posts: 2

[solved]Failed to change language under plasma 5.22.1

Hello Forums!

Environments: (up to date)
OS:Arch Linux x86_64
Kernel:5.12.11-arch1-1
DE:Plasma 5.22.1

When I install my arch, I selected my local language(zh_CN.UTF-8). Recently I'd like to change is to English(en_US) as tty does not support Chinese.
When I changed the settings in the Regional Settings->Language to American English as default, system apps and ui have changed to English. But when I test git in the terminal, it shows explanation in Chinese. It's weird.
I have change the configuration as wiki said.

LANG=en_US.UTF-8    #locale.conf
en_US.UTF-8 UTF-8
zh_CN.UTF-8 UTF-8    #locale.gen

and reboot.

$ locale                   
LANG=en_US.UTF-8
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=zh_CN.UTF-8

But when I test "locale" in tty2 or the other, all the configs show en_US.UTF-8 and command like git/pacman show English explanations.

So I guess it maybe the matter of plasma(only in tty1 UI it takes wrong), I have searched archwiki as well as google. But such as "plasma-locale-settings.sh" is useless.Nothing changed.
When I delete zh_CN in "configure plasma translations", the konsole successfully show English but locale didn't change.

I'm confused that tty2 is normal but plasma shows different output...

Last edited by Cyanides (2021-06-22 17:16:12)

Offline

#2 2021-06-18 10:17:13

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,331

Re: [solved]Failed to change language under plasma 5.22.1

Offline

Board footer

Powered by FluxBB