M4rtinK / modrana

ModRana is a flexible GPS navigation system for mobile devices. This is the main upstream modRana source code repository - waiting for your pull requests & patches! :)
www.modrana.org
GNU General Public License v3.0
66 stars 21 forks source link

Support for l10n with the Qt 5 interface #213

Closed M4rtinK closed 6 years ago

M4rtinK commented 6 years ago

This is a bit more complicated that for "normal" QML applications as most of the application logic is in Python while the UI is QML.

This means l10 support (string gathering & translated string loading) needs to be done both for the Python code, as well as for QML. The QML code actually already uses qsTr() function calls in most places, but there is currently zero support for l10n in the Python code.

M4rtinK commented 6 years ago

So it should now be finally possible to translate modRana. :)

Transifex project: https://www.transifex.com/martink/modrana/