You are not logged in.

#1 2024-01-09 17:31:41

Galisma
Member
From: Spain - Andalucia
Registered: 2024-01-09
Posts: 5

[SOLVED] Languaje configuration not working properly

Hello, I am new to Linux, and I am unable to fix some issues with my system. I uncommented Spanish during the Arch installation, and I selected Spanish in the KDE Plasma config. However, all programs are in English by default, and most of the system's menus are still in English. I did some research and found out that locales were responsible for the system's language configuration, but I can't find a way to fix this. ¿Could you help me figure out where the problem is or what I should check next? (Sorry for my bad English)
Output of my local command:
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=es
LC_CTYPE="es"
LC_NUMERIC="es"
LC_TIME="es"
LC_COLLATE="es"
LC_MONETARY="es"
LC_MESSAGES="es"
LC_PAPER="es"
LC_NAME="es"
LC_ADDRESS="es"
LC_TELEPHONE="es"
LC_MEASUREMENT="es"
LC_IDENTIFICATION="es"
LC_ALL=

Last edited by Galisma (2024-01-09 23:24:24)


Forever Noob

Offline

#2 2024-01-09 17:32:55

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [SOLVED] Languaje configuration not working properly

"es" is not a valid locale. What locales did you generate, specifically? That's what you need to use.

Online

#3 2024-01-09 17:51:57

Galisma
Member
From: Spain - Andalucia
Registered: 2024-01-09
Posts: 5

Re: [SOLVED] Languaje configuration not working properly

I generated the local. es_AR.UTF-8 UTF-8
Now I realize this is the wrong local but it should be in Spanish anyways.
I repeated the process with es_ES.UTF-8 UTF-8 and nothing changed


Forever Noob

Offline

#4 2024-01-09 17:53:59

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [SOLVED] Languaje configuration not working properly

'es_ES.UTF-8' is not the same as 'es'. You need to specify the actual locale, not just part of it.

Online

#5 2024-01-09 18:24:02

Galisma
Member
From: Spain - Andalucia
Registered: 2024-01-09
Posts: 5

Re: [SOLVED] Languaje configuration not working properly

I managed to get the /etc/locale.gen script to work, and it changed all "es" to "es_ES.UTF-8" in the locale command. But when I reboot it return to "es". Could it be a kde plasma issue?


Forever Noob

Offline

#6 2024-01-09 18:41:24

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

Re: [SOLVED] Languaje configuration not working properly

Offline

#7 2024-01-09 19:51:46

Galisma
Member
From: Spain - Andalucia
Registered: 2024-01-09
Posts: 5

Re: [SOLVED] Languaje configuration not working properly

I tried to remove this file before ~/.config/plasma-localerc, but it didn't work either. Maybe I am doing something wrong, or the manual is too technical for me. Anyway, thanks for the help.

EDIT: It seems that the fixed locales now survive reboots, so the problem is solved. Thanks again smile

Last edited by Galisma (2024-01-09 20:38:52)


Forever Noob

Offline

#8 2024-01-09 21:28:33

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,048

Re: [SOLVED] Languaje configuration not working properly

\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#9 2024-01-09 23:37:12

Galisma
Member
From: Spain - Andalucia
Registered: 2024-01-09
Posts: 5

Re: [SOLVED] Languaje configuration not working properly

Okay. I Will do that from now on

Last edited by Galisma (2024-01-09 23:38:33)


Forever Noob

Offline

Board footer

Powered by FluxBB