QML ContextMenu only appears in english language
-
Hello everybody,
I'am developing a project on one machine. For testing I copy the executables to another machine with the necessary libraries. My project runs on the second machine, but the standard context menu of QML Types like TextField comes in english language. On the first machine there it was all in german language.
I'd like to have the context menu in german language. What am I doing wrong?
I tried with setting environment variables, setting QLocale::setDefault(QLocale::German); in main.cpp and copied all *.qm's to the same directory like executables.
Thank you for your help.
-
Solution is to modify db.conf: https://doc.qt.io/qt-5/qt-conf.html and change the Path for translation-directory.
-
Solution is to modify db.conf: https://doc.qt.io/qt-5/qt-conf.html and change the Path for translation-directory.
@rgerlach81 Thank you for sharing. If your issue is solved, please don't forget to mark it as such.