| Summary: | LANG set to en_US.UTF-8 despite first language in language list being set to British English | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | David Chmelik <dchmelik> |
| Component: | kcm_regionandlang | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | minor | CC: | hanyoung, nate |
| Priority: | NOR | ||
| Version First Reported In: | 5.26.5 | ||
| Target Milestone: | --- | ||
| Platform: | Slackware | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
languages
regional |
||
|
Description
David Chmelik
2023-02-09 02:17:02 UTC
Please attach two screenshots: - one of your language list - one that shows the issue you're encountering Thanks! Created attachment 156177 [details]
languages
Created attachment 156178 [details]
regional
JFYI your QML theming is broken because one of two things is happening (or possibly both): 1. You're using qt5ct, which overrides the theming set by Plasma. Solution: remove it 2. You don't have the qqc2-desktop-style framework installed, so your QtQuick apps are falling back to the built-in Qt Material style. Solution: install it and then tell your distro to pre-install it by default Cannot reproduce. When I make British English the top language and then add American English underneath it, the examples on the main page reflect the correct formatting for British English (i.e. Metric units, d/m/y date formats, A4 paper size, etc). Can you describe *exactly* how you configured things with specific individual steps I can follow to try to replicate the bug? I added British English and moved it to top. I'm not talking about other formatting, just that the top language isn't listed as the language in use. I don't know what that stuff is but will work on it later. Thanks. While this is happening, can you paste the output of these commands: cat /etc/locale.conf cat ~/.config/plasma-localerc d@cosmos:~$ cat /etc/locale.conf cat: /etc/locale.conf: No such file or directory d@0.cosmos:~$ cat ~/.config/plasma-localerc [Formats] LANG=en_US.UTF-8 LC_NAME=en_GB.UTF-8 LC_TIME=en_150.UTF-8 [Translations] LANGUAGE=en_GB:en_US I don't know what QML theming is or what the implications of it being broken are. I do have qt5ct, which I thought was a dependency of something else I have, but might not be, so can probably uninstall it. Slackware has qqc2-desktop-style. qt5ct conflicts with plasma-integration and will break tons and tons of things. I strongly suggest removing it. Now back to the original issue: I believe the issue is caused by LANG=en_US.UTF-8 coupled with LANGUAGE=en_GB:en_US. What this is telling the system to do is generally make all formats be American English, but prefer British English text. This is invalid; LANG should be getting set to the first language in the language list (which in this case is en_BW.UTF-8). So there does appear to be some bug in the KCM that generates this configuration. Just gave it a whirl and it worked for me; LANG was set to en_BW.UTF-8 as expected. |