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

--- Comment #2 from Wolfgang Rohdewald <wolfg...@rohdewald.de> ---
Maybe using the Qt translations path might help. If you apply the following
patch to master and start kajongg from shell, it will print that path. For me,
that is 

Qt translation path:/usr/share/qt5/translations

Is there a formal method to compute the correct KF5 .mo path from this one?
But that will probably only help if you also build qt5 in the same local
install folder. Is that the standard case when building kf5?

diff --git a/src/kdestub.py b/src/kdestub.py
index aeefa25c..772581b9 100644
--- a/src/kdestub.py
+++ b/src/kdestub.py
@@ -211,6 +211,7 @@ class KApplication(QApplication):

     def initQtTranslator(self):
         """load translators using Qt .qm files"""
+        print('Qt translation
path:{}'.format(QLibraryInfo.location(QLibraryInfo.TranslationsPath)))
         for language in
reversed(list(MLocale.extendRegionLanguages(KGlobal.currentLanguages()))):
             self.installTranslatorFile(os.path.join(
                 QLibraryInfo.location(QLibraryInfo.TranslationsPath),
'qtbase_{}.qm'.format(language)))

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

Reply via email to