https://bugs.kde.org/show_bug.cgi?id=461949

            Bug ID: 461949
           Summary: Region & Language sets language to non-UTF-8 locale
    Classification: Plasma
           Product: plasmashell
           Version: 5.26.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: agure...@protonmail.com
                CC: k...@davidedmundson.co.uk
  Target Milestone: 1.0

SUMMARY

If you set Language in Region & Language to American English or British English
for example it sets locale to "en_US" or "en_GB" respectively, Deutsch to
simply "de". Other fields are set to correct settings if modified.

STEPS TO REPRODUCE
1. Open Region & Language
2. Set language to something else "American English"
3. cat ~/.config/plasma-localerc

OBSERVED RESULT

$ cat .config/plasma-localerc
[Formats]
LANG=en_US

[Translations]
LANGUAGE=en_US

EXPECTED RESULT

cat .config/plasma-localerc
[Formats]
LANG=en_US.UTF-8

[Translations]
LANGUAGE=en_US.UTF-8


SOFTWARE/OS VERSIONS

Operating System: Fedora Linux 37
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Kernel Version: 6.0.9-300.fc37.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 6800 XT
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7C84
System Version: 1.0

ADDITIONAL INFORMATION

If other fields are modified, then it sets other fields correctly:

$ cat .config/plasma-localerc
[Formats]
LANG=en_US
LC_ADDRESS=en_DE.UTF-8
LC_MEASUREMENT=en_DE.UTF-8
LC_MONETARY=en_DE.UTF-8
LC_NAME=en_DE.UTF-8
LC_NUMERIC=en_DE.UTF-8
LC_PAGE=en_DE.UTF-8
LC_TELEPHONE=en_DE.UTF-8
LC_TIME=en_DE.UTF-8

[Translations]
LANGUAGE=en_US

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to