Bug 384451

Summary: systemsettings does not understand yet-to-be-generated locales
Product: [Applications] systemsettings Reporter: Gaëtan Gilbert <gaetan.gilbert>
Component: kcm_formatsAssignee: Sebastian Kügler <sebas>
Status: RESOLVED DUPLICATE    
Severity: normal CC: katyaberezyaka, nate
Priority: NOR    
Version: 5.8.7   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=430803
https://bugs.kde.org/show_bug.cgi?id=431292
Latest Commit: Version Fixed In:

Description Gaëtan Gilbert 2017-09-06 22:32:11 UTC
In system settings > regional settings > formats, it is possible to set any locale even if it isn't present on the system. This can appear to work while leading to random incomprehensible breakage (eg set LC_TIME to whatever, reboot, see that the KDE clock respects it. However if the locale isn't generated okular will fail to open files with non totally ASCII path like é.pdf, mcomix will just crash on startup, etc)

The program should somehow remind the user to generate locales. Possibilities:
- display only generated locales (maybe with a toggle to display the rest as well)
- display some warning when a non generated locale is chosen
- whatever you come up with
Comment 1 soredake 2021-01-03 17:04:49 UTC
Any progress on this?
Comment 2 Nate Graham 2021-01-04 21:04:28 UTC
*** Bug 430803 has been marked as a duplicate of this bug. ***
Comment 3 soredake 2021-01-08 09:30:41 UTC
I think kde should ask user, and if user agrees kde should generate missing locales.
Comment 4 soredake 2021-01-09 11:52:55 UTC
About generating locales https://bugs.kde.org/show_bug.cgi?id=431292
Comment 5 Nate Graham 2021-09-30 17:52:22 UTC

*** This bug has been marked as a duplicate of bug 403580 ***