Bug 446684 - perl: setting locale failed when Germany - English is set as Currency
Summary: perl: setting locale failed when Germany - English is set as Currency
Status: RESOLVED DUPLICATE of bug 403580
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_formats (show other bugs)
Version: 5.23.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-08 14:45 UTC by Lyubomir
Modified: 2021-12-08 21:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lyubomir 2021-12-08 14:45:22 UTC
SUMMARY
There is no en_DE.UTF8 in /etc/locale.gen

STEPS TO REPRODUCE
1. Set main Region to United Kingdom - British
2. Override Currency to Germany - English
3. Apply
4. Logout and Login back
5. test with some program - for example https://archlinux.org/packages/community/any/rebuild-detector/ (command checkrebuild -v)

OBSERVED RESULT
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_GB.utf-8",
        LC_ALL = (unset),
        LC_MONETARY = "en_DE.UTF-8",
        LC_MEASUREMENT = "bg_BG.UTF-8",
        LC_NUMERIC = "bg_BG.UTF-8",
        LANG = "en_GB.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_GB.UTF-8").

EXPECTED RESULT
No such error. It messes with possibly important output from other programs as it's printed three times.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.15.6-zen2-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 7,6 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Comment 1 Nate Graham 2021-12-08 21:02:27 UTC
This is a distro issue; we did our part on the Plasma side, but the distro didn't support it. :( This will be fixed with the new in-progress KCM though, as it will use distro-specific tools to generate locates as needed rather than assuming that the distro set things up correctly on its own.
Comment 2 Nate Graham 2021-12-08 21:02:44 UTC

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