Manage translations
Requirements
Qt Linguist tools are used to manage translations. Typically on Ubuntu 22.04:
sudo apt install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools qttools5-dev-tools
Workflow
Update
.ts
files:pylupdate5 -noobsolete -verbose RoofClassify/resources/i18n/plugin_translation.pro
Translate your text using QLinguist or directly into
.ts
files.Compile it:
lrelease RoofClassify/resources/i18n/*.ts