mherrmann / fbs-tutorial

Tutorial for creating Python/Qt GUIs with fbs
https://build-system.fman.io
GNU General Public License v3.0
1.94k stars 161 forks source link

Translations into other languages #41

Open PhilippVerpoort opened 4 years ago

PhilippVerpoort commented 4 years ago

Qt and PyQT offer extensive functionality for translation or internationalisation of applications, see e.g.:

https://www.riverbankcomputing.com/static/Docs/PyQt5/i18n.html

I was wondering if a conclusion has been reached yet regarding how best to implement translation of apps in fbs?

Many thanks in advance.

mherrmann commented 4 years ago

Hi,

there hasn't yet been a discussion when it comes to fbs. So this could be the starting point. I don't know anything about translations in (Py)Qt. Have you looked into it? What you have found?

Thanks, Michael

trin94 commented 3 years ago

https://doc.qt.io/qt-5/i18n-source-translation.html

Another example of a (PyQt5) toolchain can be found here: https://github.com/frispete/distutils_ui. The later uses a bunch of official command line tools to do the job. I think something similar can be done with fbs. It also covers how to manage .ui files (which can be created with Qt Designer), resources and translations. For PySide2 there exist tools with different names but similar functionality.

Regards, Elias