Manage translations

Requirements

Qt Linguist tools are used to manage translations. Typically on Ubuntu:

sudo apt install qt5-qmake qttools5-dev-tools

Workflow

  1. Update .ts files:

    pylupdate5 -noobsolete -verbose pyqgis_resource_browser/resources/i18n/plugin_translation.pro
    
  2. Translate your text using QLinguist or directly into .ts files.

  3. Compile it:

    lrelease pyqgis_resource_browser/resources/i18n/*.ts