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