Denvi / Candle

GRBL controller application with G-Code visualizer written in Qt.
GNU General Public License v3.0
1.34k stars 548 forks source link

Translations not working in Linux #608

Open khvalera opened 1 year ago

khvalera commented 1 year ago

Other translations do not work on Linux if the program is run from /usr/bin. It looks like the problem is in this line:

QString translationsFolder = qApp->applicationDirPath() + "/translations/";
QString translationFileName = translationsFolder + qApp->applicationDisplayName() + "_" + loc + ".qm";

The translations directory must be in applicationDirPath

khvalera commented 1 year ago

I can translate the program into Ukrainian.