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

            Bug ID: 485877
           Summary: systemsettings writes language code into
                    plasma-localerc while locale code is expected at start
                    up
    Classification: Frameworks and Libraries
           Product: frameworks-kconfig
           Version: 5.115.0
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: matt...@mjdsystems.ca
          Reporter: th...@web.de
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

SUMMARY
The language of large parts of the Plasma user interface is not set as intended
by the systemsettings regional settings dialog  when the system locale differs
from the intended regional setting. The reason for this unexpected behavior is
caused by the content of the file ./config/plasma-localerc, which contains only
a language code (like 'en') but not the complete locale code (like 'en_US'),
which is obviously expected when Plasma starts. The consequence is that the
internationalization of Plasma is partly broken.

STEPS TO REPRODUCE
1. Set your _system_ locale for instance to en_US.UTF-8, which you might want
on a system with multiple international users.
2. Choose and set another language (for instance deutsch, but _not_ the system
language) for your user in the regional settings dialog of systemsettings
3. Log out and log in

OBSERVED RESULT
The language of large parts of the Plasma user interface (for instance menus
and clocks or even parts of systemsettings) is in the system language, for
instance english, while other parts are in the other language, for instance
deutsch, that you have set before.

EXPECTED RESULT
The whole Plasma user interface should be in the language that is set in the
regional settings dialog of systemsettings, for instance deutsch, and not in
the system language, for instance english.

WORKAROUND
In the example above, the relevant content of the configuration file
./config/plasma-localerc is
> [Formats]
> LANG=de
When the line 'LANG=de' is changed to 'LANG=de_DE.UTF-8', i.e. from language
code to regional code, the whole Plasma user interface is presented in the
selected language deutsch after log out and log in. Setting the language again
in the regional settings dialog of systemsettings to another language than
deutsch and back to deutsch leads to a change of plasma-localerc and
consequently again to the unwanted behavior.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.00
Qt Version: 5.15.12

ADDITIONAL INFORMATION
I have set the severity of this bug to major, because I feel that the excellent
internationalization is one of the important strengths of open source software.
I have seen similar bugs in the bug tracker that were resolved. I think that
some of these issues still may persist and could have been caused by the above
described behavior.
I don't know where the bug actually is. It can be in the regional settings
dialog of systemsettings writing the wrong type of information but also in the
routine that reads out the file plasma-localerc when Plasma starts expecting
the wrong type of information.
Thank you very much for providing KDE! I love it!

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

Reply via email to