-
In the source code, use
QtGui.QDialog.tr
function. -
Go to
i18n
directory and run
cd i18n
pyside-lupdate -verbose download_data.pro
lupdate -verbose download_data.pro
-
Open QT Linguist and translate what is to be translated - all
*.ts
files being created -
After translation is finished, run
lrelease
lrelease *.ts
-
When you change something in GUI or in
download_data_dialog.py
, you have to repeat all steps -
Git commit && git push
git commit -m"Translation updated" *.ts *.qm`