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

            Bug ID: 445471
           Summary: Setting the region for formats doesn't respect
                    /etc/locale.conf
           Product: systemsettings
           Version: 5.23.3
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kcm_language
          Assignee: h...@kde.org
          Reporter: benttotheri...@mailbox.org
                CC: plasma-b...@kde.org
  Target Milestone: ---

SUMMARY

I want to have British English as my system language, whereas formats such as
time, date, currency, etc. are displayed according to German (more
specifically, de_DE) standards. I set my system language by editing
/etc/locale.conf such that it includes LANG=en_GB.UTF-8. System Settings →
Personalisation → Regional Settings → Language also displays British English as
the only and default language.

When I go to KDE Plasma's system settings to adjust the region for my formats
though, setting the region completely overrides that setting even though it
should only influence formats. Restarting the system and checking my locale
settings via the command locale proves this as well since it puts out 

LANG=de_DE.UTF-8
LC_CTYPE=de_DE.UTF-8
LC_NUMERIC=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
LC_COLLATE=de_DE.UTF-8
LC_MONETARY=de_DE.UTF-8
LC_MESSAGES=de_DE.UTF-8
LC_PAPER=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_ALL=

even though LANG=en_GB.UTF-8 is still set in /etc/locale.conf. Expected
behaviour would be that LANG=en_GB.UTF-8 doesn't become LANG=de_DE.UTF-8.
Weirdly enough, the entire system does not turn German. Only parts of it become
German even though the output of the command locale indicates otherwise. 

Manually setting all locale flags as de_DE.UTF-8 (besides the LANG flag) inside
/etc/locale.conf and setting the formats to "No Change" delivers the desired
result.

STEPS TO REPRODUCE
1. Set the system locale by adding LANG=en_GB.UTF-8 to /etc/locale.conf
2. Go to System Settings → Personalisation → Regional Settings → Formats and
choose the region Deutschland - Deutsch (de_DE)
3. Watch parts of your system become German and the output of the command
locale only show German locale settings.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  
(available in About System)
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2

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

Reply via email to