Skip to content
Commit fb7d5e2a authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Load translations for application-specific language also on Win and Mac

On Windows and Apple OSs, we cannot use QLocale::system() because on
those OSs Qt ignores LANGUAGE (which is set by kxmlgui to the
application-specific languages configured by the user). We need to
check LANGUAGE ourselves.

CCBUG: 464694

This MR replaces kxmlgui!145. It fixes the bug for the translations provided by Qt. To fix the bug also for translations coming from .qm files in KF libraries a similar change in ecm is needed.

I have tested this MR (for KF5) with Kate on Windows.
parent 550dff73
Pipeline #336378 passed with stage
in 4 minutes and 31 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment