Bug 416415

Summary: window decoration does not respect system language on Wayland
Product: [Plasma] kwin Reporter: Patrick Silva <bugseforuns>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, kde
Priority: NOR    
Version First Reported In: 5.18.90   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot

Description Patrick Silva 2020-01-18 11:26:11 UTC
Created attachment 125220 [details]
screenshot

SUMMARY
This issue does affect X11 session.
I have american english and portuguese languages in Languages kcm.
Context menu of window decoration, tooltips of buttons (minimize, maximize, close, keep above, etc), alt+F3 menu and any window opened via context menu (Configure special window settings, Configure special application settings and
Configure window manager) are translated to portuguese despite my current language is american english. See the attached screenshot please.

EXPECTED RESULT
window decoration respects system language

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.17.90
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.0
Comment 1 Patrick Silva 2020-01-18 11:26:38 UTC
ops, I meant "this issue does NOT affect X11 session.
Comment 2 Patrick Silva 2020-01-18 11:28:04 UTC
This issue also affects Neon unstable edition.
Comment 3 David Edmundson 2020-01-18 17:33:21 UTC
Urgh, right. 

Relevant code is startkde.

runStartupConfig() contains i18n setting.

It's in startplasma-waylandsession.cpp not startplasma-wayland.cpp which is after kwin.
Comment 4 Patrick Silva 2020-09-18 18:51:59 UTC
cannot reproduce on Plasma 5.20 beta.

Operating System: Arch Linux
KDE Plasma Version: 5.19.90
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1