Bug 479213 - Cannot change kde languages because of locale
Summary: Cannot change kde languages because of locale
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_regionandlang (show other bugs)
Version: 5.27.10
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: usability
: 487810 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-12-31 07:18 UTC by lehoangan02school
Modified: 2024-06-27 17:57 UTC (History)
7 users (show)

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


Attachments
screenshot of output (131.52 KB, image/png)
2023-12-31 07:18 UTC, lehoangan02school
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lehoangan02school 2023-12-31 07:18:41 UTC
Created attachment 164568 [details]
screenshot of output

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
This bug may not be apparent if you try to reproduce one time, if you try it again with other languages and try it again it will appear as a bug error.

STEPS TO REPRODUCE
1. Go to system settings > Regional settings > Region & language
2. Modify (language) > Change language > Vietnamese/British English
3. Apply

OBSERVED RESULT
Could not find the system's available locales using the localectl tool. Please file a bug report about this at https://bugs.kde.org

EXPECTED RESULT
KDE to change language

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Operating System: Fedora Linux 39
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
Kernel Version: 6.6.8-200.fc39.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-6700 CPU @ 3.40GHz
Memory: 15,4 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 530
Manufacturer: HP
Product Name: HP Z240 SFF Workstation
(available in About System)
ADDITIONAL INFORMATION
Comment 1 Nico Tolvanen 2024-04-23 23:22:00 UTC
I can also confirm this issue even with kde 6.0.3 in fedora 40. However I can't change the locale in settings at all.
Comment 2 Graeme Murray 2024-04-27 21:54:44 UTC
I have the same problem, Fedora 40 kde 6.0.4
Comment 3 muso.am 2024-05-20 19:11:41 UTC
Same problem, Fedora 40 KDE 6.0.4
Comment 4 hanyoung 2024-05-21 15:03:13 UTC
Confirmed, localectl executable is not installed by default on fedora 40, despite the doc still mentions it: https://docs.fedoraproject.org/en-US/fedora/latest/system-administrators-guide/basic-system-configuration/System_Locale_and_Keyboard_Configuration/#System_Locale_and_Keyboard_Configuration.adoc#tab-locale_options

Maybe an upstream bug? Because it does present in older versions of fedora.
Comment 5 hanyoung 2024-05-31 12:53:09 UTC
*** Bug 487810 has been marked as a duplicate of this bug. ***
Comment 6 Ricardo Funke Ormieres 2024-06-27 17:57:29 UTC
(In reply to hanyoung from comment #4)
> Confirmed, localectl executable is not installed by default on fedora 40,
> despite the doc still mentions it:
> https://docs.fedoraproject.org/en-US/fedora/latest/system-administrators-
> guide/basic-system-configuration/System_Locale_and_Keyboard_Configuration/
> #System_Locale_and_Keyboard_Configuration.adoc#tab-locale_options
> 
> Maybe an upstream bug? Because it does present in older versions of fedora.

That's not true, /usr/bin/localectl is installed by default and is part of systemd package which is in base install. I have fedora 40 kde spin installed and I can confirm I can run localectl and still have the same error message when trying to change language in KDE's configuration UI.