| Summary: | Broken locales when only LANG is defined in plasma-localerc | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | Aidan Harris <me> |
| Component: | kcm_regionandlang | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED DOWNSTREAM | ||
| Severity: | normal | CC: | hanyoung, nate |
| Priority: | NOR | ||
| Version First Reported In: | master | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Aidan Harris
2024-11-11 06:32:15 UTC
I don't recall us ever supporting such a configuration in the past, and we don't right now. This seems like a user or distro misconfiguration. I don't think there's anything for us to do here, sorry. (In reply to Nate Graham from comment #1) > I don't recall us ever supporting such a configuration in the past, and we > don't right now. This seems like a user or distro misconfiguration. I don't > think there's anything for us to do here, sorry. It worked fine in the past, only recently did KDE start defaulting to the C locale in this situation. I wish I knew how it ended up in this situation, it's definitely KDE because if I ssh into the machine or login to another tty the locales are set correctly. It's only the result of the plasma-localerc file that was causing this. Sorry, for the noise. Thought it was worth reporting this anyway. Hmm, any thoughts, Han? For what it's worth, I can't seem to replicate this anymore. It may have been the fault of a recent upgrade. If I ran `LANG=en_GB.UTF-8 LC_ALL=C locale` in terminal, I get the same output as yours. So I think maybe in plasma-localerc, the previous setting was just $LANG, $LC_* were unset. The LC_ALL maybe coming from the distro setting. It worked okay because previously distro doesn't set LC_ALL? And once it did, the locale broken (LC_* inherit LANG if LC_ALL is not set). Nonetheless, with the current "if LANG is set, also set all LC_*" approach, situations like these can be avoided. |