File anki-aqt___init__.py.patch of Package anki
--- a/aqt/__init__.py +++ b/aqt/__init__.py @@ -107,7 +107,7 @@ def setupLang(pm, app, force=None): app.setLayoutDirection(Qt.LeftToRight) # qt _qtrans = QTranslator() - if _qtrans.load("qt_" + lang, dir): + if _qtrans.load("qt_" + lang, "/usr/share/qt5/translations"): app.installTranslator(_qtrans) # App initialisation