Bug 493791

Summary: Cannot change languages on Musl LibC-based Linux distributions
Product: [Applications] systemsettings Reporter: raphmar2022
Component: kcm_regionandlangAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: hanyoung, nate
Priority: NOR    
Version First Reported In: 6.0.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: The error message when setting the language.

Description raphmar2022 2024-09-28 19:11:04 UTC
Created attachment 174176 [details]
The error message when setting the language.

SUMMARY
System Settings prevent us from changing the language on Musl-based distros

STEPS TO REPRODUCE
1. Open System Settings
2. Go to Regions & Languages category
3. Change the language

OBSERVED RESULT
Case 1: The app tells us "Could not find the system's available locales using the localectl tool."
Case 2: The app don't give us any errors, says the language has been changed, but it didn't change the language.

EXPECTED RESULT
It should work...

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Alpine Linux 3.20.3 (KDE installed from edge/community APK repo)
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.6.3
Comment 1 hanyoung 2024-10-01 04:56:01 UTC
> musl does not support locales
from: https://wiki.gentoo.org/wiki/Musl_usage_guide