Init Translations
This PR adds initial Support for translations. It's alrady fully working, but you need to prepare your code a little. On Every string that should be translated replace
"my String"
with
tr("my String")
If you have something in your ui files that should not be translated e.g. a Placeholder text, you should mark it as not translatable.
You can add new languages by running
lupdate . -ts ./Translations/RMG_de.ts
In the Source directory
It can also be used with Weblate
I added a German translation with currently only includes the About Dialog as Example.
I'm sorry it took so long for me to get to taking a look at this, life has (and still is) rather busy due to moving out.
If I merge this and make those required changes, will you finish the German translation?
If I merge this and make those required changes, will you finish the German translation?
Yes
In case you're interested, I could also make a PR to use gettext with the .desktop and .appdata file, so they could also be intrated into Weblate
Ping @Rosalie241