https://bugs.kde.org/show_bug.cgi?id=470695
Bug ID: 470695 Summary: Invalid Plasma<->GLibc locale matching heuristic Classification: Applications Product: systemsettings Version: 5.27.5 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: kcm_regionandlang Assignee: plasma-b...@kde.org Reporter: jek...@gmail.com CC: hanyo...@protonmail.com Target Milestone: --- SUMMARY *** The Region and Language KCM has a strange heuristic for mapping Plasma language to GLibc locale in the KCMRegionAndLang::constructGlibcLocaleMap(). This algorithm can select almost unused locale variant instead of expected one. For example, it selects a be_BY@latin locale for Belarusian language instead of pure be_BY. *** STEPS TO REPRODUCE 1. Run Region and Language KCM 2. Select a Belarusian ("беларуская") language 3. Apply changes 4. Check the ~/.config/plasma-localerc for LANG variable OBSERVED RESULT LANG=be_BY.UTF-8@latin EXPECTED RESULT LANG=be_BY.UTF-8 SOFTWARE/OS VERSIONS Linux/KDE Plasma: Operating System: Debian GNU/Linux 12 KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 Kernel Version: 6.1.0-9-amd64 (64-bit) Graphics Platform: X11 -- You are receiving this mail because: You are watching all bug changes.