Bug 477440 - Language is configured as Spanish, but most menus are shown in English
Summary: Language is configured as Spanish, but most menus are shown in English
Status: RESOLVED NOT A BUG
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-23 22:03 UTC by moshpirit
Modified: 2023-12-07 23:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description moshpirit 2023-11-23 22:03:13 UTC
SUMMARY
Sometimes the text is shown in Spanish (as it should be), sometimes in English (for some reason).

OBSERVED RESULT
➤ Applications like Dolphin show the menus in English, and folders like "Documentos" (Spanish for "Documents") are shown in the "places" panel as "Documents". 
➤ Plasmoids mix Spanish and English somehow (see screenshot: https://i.imgur.com/MNbmjCJ.png).
➤ For apps like System settings, it's much trickier, since the categories are shown in Spanish but the menus and configurations are in English (see screenshot: https://i.imgur.com/rRAlJ70.png)

EXPECTED RESULT
Everything is shown in Spanish.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
I tried manually modifying the language and going back to Spanish + pressing "Apply" and restarting to see if the error persisted (it does).
Comment 1 Nate Graham 2023-11-29 22:37:42 UTC
Can you click "Modify" on the list item where it shows the language and attach a screenshot of the page that you see?
Comment 2 moshpirit 2023-11-30 22:35:55 UTC
(In reply to Nate Graham from comment #1)
> Can you click "Modify" on the list item where it shows the language and
> attach a screenshot of the page that you see?

Thanks for replying! [this is what it shows](https://i.imgur.com/wdkzoBo.png): the language is Spanish ("español de España"); I shared the screenshot after pressing "Change language" just to show this too, but I'm not modifying this setting.
Comment 3 Nate Graham 2023-12-01 17:49:49 UTC
Thanks. Is this a regression from how it was before? Or was it always like this? Or are you unable to determine because you just recently started using Plasma, or Plasma in Spanish?
Comment 4 Nate Graham 2023-12-01 17:51:35 UTC
I ask because I see on https://l10n.kde.org/stats/gui/trunk-kf5/team/ that Spanish translations are only 91% complete for Plasma 5, so that might explain it.
Comment 5 moshpirit 2023-12-02 00:07:39 UTC
(In reply to Nate Graham from comment #3)
> Thanks. Is this a regression from how it was before? Or was it always like
> this? Or are you unable to determine because you just recently started using
> Plasma, or Plasma in Spanish?

Hi! Thanks for replying! It happened from one day to the other, I have been using Plasma on Arch for almost a year, and it's been working fine in Spanish. I checked the remaining 9% is in regards with Krita, Digikam and a couple of more apps; I'm just a regular user, but it doesn't sound to me like it should affect the menus, or the plasmoids. 

This information is probably very irrelevant but:

- This happens with both X11 and Wayland
- I remember checking something regarding an alias to LC_ALL, so just in case, here's the reply of typing the command "locale" on the terminal:
locale: Cannot set LC_ALL to default locale: No existe el fichero o el directorio
LANG=es_ES.UTF-8
LC_CTYPE=es_ES.UTF-8
LC_NUMERIC="es_ES.UTF-8"
LC_TIME=es_IC.UTF-8
LC_COLLATE="es_ES.UTF-8"
LC_MONETARY="es_ES.UTF-8"
LC_MESSAGES="es_ES.UTF-8"
LC_PAPER="es_ES.UTF-8"
LC_NAME="es_ES.UTF-8"
LC_ADDRESS="es_ES.UTF-8"
LC_TELEPHONE="es_ES.UTF-8"
LC_MEASUREMENT="es_ES.UTF-8"
LC_IDENTIFICATION="es_ES.UTF-8"
LC_ALL=
Comment 6 moshpirit 2023-12-07 23:05:31 UTC
FIXED! Just edited the file /etc/locale.conf (and maybe an unnecessary source /etc/profile.d/locale.sh) to:
                                          
LANG=es_ES.UTF-8
LANGUAGE=es_ES.UTF-8
LC_ADDRESS=es_ES.UTF-8
LC_COLLATE=es_ES.UTF-8
LC_CTYPE=es_ES.UTF-8
LC_IDENTIFICATION=es_ES.UTF-8
LC_MEASUREMENT=es_ES.UTF-8
LC_MESSAGES=es_ES.UTF-8
LC_MONETARY=es_ES.UTF-8
LC_NAME=es_ES.UTF-8
LC_NUMERIC=es_ES.UTF-8
LC_PAPER=es_ES.UTF-8
LC_TELEPHONE=es_ES.UTF-8
LC_TIME=es_ES.UTF-8

But changing the timezone again from "Default (Madrid, Spain)" to "Canary Islands (Spain)" (plus a reboot) somehow breaks some kind of configuration setting. I needed to change it back and reboot to make it right, but it worked only *after* the locale.conf was set as I show above, before it was just the first line.
Comment 7 moshpirit 2023-12-07 23:09:40 UTC
I'm checking this again, and looks like I missed this message (in English, which surprises me) when changing the timezone:

> Locale has been configured, but this KCM currently doesn't support auto locale generation on your system, please refer to your distribution's manual to install fonts and generate locales

So I'll close the issue since this seems to be outside of Plasma capabilities.