https://bugs.kde.org/show_bug.cgi?id=509902
Bug ID: 509902
Summary: KDE apps are not honoring the language setting from
System Settings
Classification: Applications
Product: systemsettings
Version First 6.3.4
Reported In:
Platform: Neon
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: kcm_regionandlang
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
Created attachment 185233
--> https://bugs.kde.org/attachment.cgi?id=185233&action=edit
Configure language window
SUMMARY
KDE applications generally aren't honoring the language settings in System
Settings. The user selects a language in System Settings, and when they access
a KDE/plasma apps, the language displayed isn't exactly the one configured.
This has been confirmed across multiple distributions for pt_BR.
STEPS TO REPRODUCE
Install KDE for Brazilian Portuguese. Set the language in System Settings to
pt_BR (in fact, when you install the distribution for this language, this
selection appears by default). Access any KDE application (tested with Dolphin,
Kate, Kwrite, Krita, Digikam, among others). The application will have European
Portuguese (pt) as its primary language.
OBSERVED RESULT
When I run any KDE/Plasma application, the primary language is European
Portuguese (pt). If I access the Settings -> Configure Language menu, the
primary language appears as European Portuguese (pt). In this configuration
window. If I press the presets button, the following appears (see attachment)
Primary: Portuguese (pt)
Secondary: Brazilian Portuguese (pt_BR)
Secondary: Portuguese (pt)
Secondary: Portuguese (pt)
For all apps.
EXPECTED RESULT
All KDE applications should have as their primary language the language
selected in System Settings. In the systems tested, I didn't even include
European Portuguese (pt) as an option. What I expect is that in the 'Configure
language' window I only find pt_BR as the primary language. Nothing else.
SOFTWARE/OS VERSIONS
I confirmed this bug on the following distributions: openSUSE (plasma 6.4.5),
Fedora (plasma 6.4.4), KDE Neon (plasma 6.4.5) and Kubuntu (plasma 6.3.4). So
it must not be related to the distribution, but to KDE.
ADDITIONAL INFORMATION
In all distributions, I checked the (~/.config/plasma-localerc), and on all of
them only have the pt_BR entry. I don't know where the application's default
language options came from. The LANG, LC_ALL, and LANGUAGE environment
variables are also set correctly.
As a workaround, I've been using the Settings -> Configure Languages option
to manually configure each application individually. I've noticed that these
individual settings are saved in the (~/.config/klanguageoverridesrc) file.
However, there are apps that don't offer this menu (such as System Settings
itself), and manually entering them in the klanguageoverridesrc file doesn't
work.
I'm part of the KDE translation team for Brazilian Portuguese and it's
frustrating to see that all the team's work isn't used by default.
I'll be testing the behavior in other languages to see if this is a
pt_BR-specific issue or if it occurs in other languages as well. Currently, I
don't even know which configuration file to manually change to fix this by
default (bsides change app settings one by one). I don't understand why
KDE/Plasma apps don't follow the system configuration.
--
You are receiving this mail because:
You are watching all bug changes.