Created attachment 166306 [details] reg-and-lang-page It prints "(Standard format for ) " For what exactly?
(KDE Neon 2024 02 28 release)
Can you paste the contents of `~/.config/plasma-localerc`?
Created attachment 166309 [details] Settings (In reply to faveoled from comment #0) > Created attachment 166306 [details] > reg-and-lang-page > > It prints "(Standard format for ) " > For what exactly? For the Language you selected. Since you selected no language it shows nothing. If you, for example, use american english it says that. See attachment.
(In reply to hanyoung from comment #2) > Can you paste the contents of `~/.config/plasma-localerc`? $ cat ~/.config/plasma-localerc [Formats] LANG=C.UTF-8
(In reply to duha.bugs from comment #3) > Created attachment 166309 [details] > Settings > > (In reply to faveoled from comment #0) > > Created attachment 166306 [details] > > reg-and-lang-page > > > > It prints "(Standard format for ) " > > For what exactly? > > For the Language you selected. Since you selected no language it shows > nothing. > > If you, for example, use american english it says that. See attachment. It's not ok to just use the same label with null placeholder
The empty text is actually the native name of the locale, but the native language name for C is empty. Guess we should return 'C' in that case.
Yeah.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4007
Git commit b7a00653dc902cd21851c0fa13cde0d6e86a911e by Han Young. Committed on 07/03/2024 at 04:26. Pushed by hanyoung into branch 'master'. kcm/regionandlang: fix Setting LANG to C mangles preview strings We return locale name if locale's native name is empty. M +5 -1 kcms/region_language/optionsmodel.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/b7a00653dc902cd21851c0fa13cde0d6e86a911e
Git commit 9581e9ae0313bda1107ea3430b36f95c37c8d19b by Han Young. Committed on 07/03/2024 at 13:56. Pushed by hanyoung into branch 'Plasma/6.0'. kcm/regionandlang: fix Setting LANG to C mangles preview strings We return locale name if locale's native name is empty. (cherry picked from commit b7a00653dc902cd21851c0fa13cde0d6e86a911e) 29e50b24 kcm_regionandlang: fix Setting LANG to C mangles preview strings 810ef65c Apply 1 suggestion(s) to 1 file(s) M +5 -1 kcms/region_language/optionsmodel.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/9581e9ae0313bda1107ea3430b36f95c37c8d19b