Translating Filmulator

Thanks to @Luemmel Filmulator is going to have German translations in the next release.

That said, I did have to widen some UI elements to fit, but even with 50 more pixels of width the text for the last switch still did not fit.

Screenshot_20201018_205906

Screenshot_20201018_211337

By the way, @Luemmel, there’s one line I forgot to connect to the translation system… here’s the new link to the .ts file: https://github.com/CarVac/filmulator-gui/blob/testbuild/filmulator-gui/qml/filmulator-gui/i18n/qml_de.ts

(moved from the original thread)

This is my first time trying translations, so I don’t know quite how to incorporate them yet, but… you should use the Qt linguist tool on the following file to generate the translation:

https://github.com/CarVac/filmulator-gui/blob/testbuild/filmulator-gui/translations/filmulator-gui_de.ts

Ok, finished translation. Can I test it in any way?
filmulator.zip (22.6 KB)

@CarVac we have a weblate instance now, if you’re interested in getting filmulator setup there to do translation.

How do I make use of weblate?

I can setup filmulator as a project, point it to the strings files, then people can translate, and it will make a PR with the updated files against your repo.

Do I need to manually make separate files for every language?

I think weblate will create the files as necessary. I’m not an expect (yet).

@CarVac Attached reworked translation and shortened some things.
filmulator_german.zip (23.3 KB)

Looks good so far. Will you provide different languge builds or include an option in the program to choose language?

The language is automatically selected if it matches your locale.

I think I may be able to make an override, though. The easiest thing will be an English/Not English toggle, but I suppose I should do it the right way and list the languages.

I’ve made an override that for now just forces the program into English.

New .ts file including that new setting: https://github.com/CarVac/filmulator-gui/blob/testbuild/filmulator-gui/qml/filmulator-gui/i18n/qml_de.ts

You have PN :wink:

Hi all. i’m a brazilian photographer, see www.julianoserra.com Liked very much this software and could do a portuguese translation, please verify if it’s ok to use. Thanks tradPortugues2.txt (63.3 KB)

1 Like

Thanks so much, Juliano.

I needed to add a few newlines to match the original layout, and I removed the spaces between the slashes in the directory structure examples.

I’ll have more stuff for you to translate soon…

Thanks once more!

@Juliano_Serra

I’ve got a new version of the .ts file for translation!

CarVac Are you having issues with encondig? the text appears here with all &'s, and I have to use zzunescape to convert, then edit and save as UTF-8.filmulator_pt_BR_3.txt (68.7 KB)

Are you using a text editor?

I was using Qt Linguist.

Ok, better, I’m installing QT…

Please help, what components must select to install Linguist?

You should only need to install the normal “desktop gcc 64-bit”.

Then you’ll find it in the Qt/[version]/gcc_64/bin directory.