https://bugs.kde.org/show_bug.cgi?id=459697
Bug ID: 459697 Summary: Regional Settings -> Formats messes up something and causes warnings in Perl and other command-line tools Classification: Applications Product: systemsettings Version: 5.25.5 Platform: Manjaro OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: kcm_regionandlang Assignee: plasma-b...@kde.org Reporter: php4...@gmail.com CC: hanyo...@protonmail.com Target Milestone: --- Created attachment 152435 --> https://bugs.kde.org/attachment.cgi?id=152435&action=edit system settings STEPS TO REPRODUCE On a FRESH INSTALL of Manjaro KDE: 1. go to System Settings -> Regional Settings -> Formats 2. Under Language choose American English 3. Under Formats select the ones shown in the attached screenshot 4. open a terminal and run perl OBSERVED RESULT Generally speaking, in the KDE interface (e.g. the tray-icon clock and calendar) I see the formats I chose and expect. However, when running perl (and I think other stuff) from a terminal, I get these errors: ``` perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "", LC_ALL = (unset), LC_ADDRESS = "en_US.UTF-8", LC_IDENTIFICATION = "en_US.UTF-8", LC_MEASUREMENT = "en_150.UTF-8", LC_MONETARY = "es_ES.UTF-8", LC_NAME = "en_US.UTF-8", LC_NUMERIC = "en_US.UTF-8", LC_PAPER = "en_US.UTF-8", LC_TELEPHONE = "en_US.UTF-8", LC_TIME = "en_150.UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. ``` Asking in the Manjaro forum, they told me: "The issue is your time, Currency and Measurement settings in your Formats. Since you only have en_US.UTF-8 enabled you get this error." EXPECTED RESULT I shouldn't get those errors. If setting those formats require enabling, installing, or whatever locales, then do it when I choose those settings, or at the very least show me a warning that something in my system is missing (and tell me exactly what) before you allow me to apply those settings. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.