Manage translations¶
Requirements¶
Qt Linguist tools are used to manage translations. Typically on Ubuntu:
sudo apt install qttools5-dev-tools
Workflow¶
Generate the
plugin_translation.profile:python scripts/generate_translation_profile.pyUpdate
.tsfiles:pylupdate5 -verbose profile_manager/resources/i18n/plugin_translation.pro
Translate your text using QLinguist or directly into
.tsfiles. Launching it through command-line is possible:linguist profile_manager/resources/i18n/*.tsCompile it:
lrelease profile_manager/resources/i18n/*.ts