CarVac
October 19, 2020, 1:16am
1
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.
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: filmulator-gui/qml_de.ts at testbuild · CarVac/filmulator-gui · GitHub
CarVac
October 17, 2020, 12:57pm
2
(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.
CarVac
October 19, 2020, 1:18am
5
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.
CarVac
October 19, 2020, 3:20am
7
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?
CarVac
October 19, 2020, 11:15am
10
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.
CarVac
October 20, 2020, 1:19am
11
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
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
CarVac
January 27, 2021, 3:15am
14
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!
CarVac
January 27, 2021, 3:56am
15
@Juliano_Serra
I’ve got a new version of the .ts file for translation!
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="pt_BR">
<context>
<name>Edit</name>
<message>
<location filename="../Edit.qml" line="182"/>
<source>Select an image to edit by double-clicking on a photo in the Work Queue. Switch between images with the right and left arrow keys.
Rate the current image by pressing 0 through 5 and X, or by pressing up or down arrow keys.</source>
<translation>Selecione uma imagem para editar clicando duas vezes em uma foto na Fila de Trabalhos. Alterne entre as imagens com as setas direita e esquerda.
Avalie a imagem atual pressionando de 0 a 5 e X ou pressionando as teclas de seta para cima ou para baixo.</translation>
</message>
<message>
<location filename="../Edit.qml" line="2067"/>
<source>Image Saved</source>
<translation>Imagem Salva</translation>
</message>
<message>
This file has been truncated. show original
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)
CarVac
January 28, 2021, 2:51am
17
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?
CarVac
January 28, 2021, 3:18am
20
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.