https://bugs.kde.org/show_bug.cgi?id=464694
Bug ID: 464694 Summary: Mixed language in UI when using application-specific override language on Windows Classification: Frameworks and Libraries Product: frameworks-kxmlgui Version: unspecified Platform: Other OS: Microsoft Windows Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kdelibs-b...@kde.org Reporter: kloec...@kde.org Target Milestone: --- Created attachment 155529 --> https://bugs.kde.org/attachment.cgi?id=155529&action=edit Configure Language dialog in Kate showing mixed language UI On Windows, changing the application language results in a mixed language UI STEPS TO REPRODUCE 1. Start Kate on Windows 2. Open Settings->Configure Language and select a different primary language (should be different from the system language). 3. Close the dialog with OK and restart Kate. 4. Open Settings->Configure Language dialog OBSERVED RESULT The Configure Language dialog is partially using German translation (German is the Windows system language) and partially using the configure language (e.g. Spanish). EXPECTED RESULT The configured language is used for the whole UI. SOFTWARE/OS VERSIONS Windows: 10 KDE Frameworks Version: 5.102 Qt Version: 5.15.8 ADDITIONAL INFORMATION Looks like the system language is used for translations coming from Qt while the configured language is used for translations coming from KDE. With procmon I checked which language files Kate loads (in which order): * Kate looks for/loads .qm files from bin\data\locale\{en,de}, i.e. English and German translations, for some KF5 libraries * Kate looks for/loads qt*_en.qm and qt*_de.qm files from bin\translations for the Qt libraries * Kate looks for/loads .mo files from bin\data\locale\es, i.e. Spanish translations This confirms my assumption that all Qt translations (.qm) are German, the system language, (with English as fallback) while all KDE/gettext translations (.mo) are Spanish, i.e. the configured language. Hypothesis: KXMLGui's initializeLanguages() runs after the initialization function of ki18n and therefore ki18n loads the German translations. -- You are receiving this mail because: You are watching all bug changes.