First steps and a lot of questions

Christian Mauderer <[email protected]> Sun, 28 Aug 2022 21:07:41 +0200
Newsgroups gmane.games.freeciv.internationalization
Message-ID <[email protected]>
Hello,

it seems that the German translation is a bit behind the English texts. 
Is someone currently working actively on it?

If not (or if some help is needed and welcome), I would like to try my 
luck with it. I'm not sure yet how much time I can put into that or 
whether it is enough fun for me so that I'll stick to it. Maybe I'll 
jump off again in a month in case I don't like the work, but I want to 
at least give it a try. I hope that is not a problem?

My mother tongue is German. As an embedded hard- and software developer 
I have to do with technical English on a daily basis (reading data 
sheets, writing mails on mailing lists, reading / writing C code and 
comments ...). In these cases, it's only necessary to write 
understandable English and not necessarily correct one. But I also read 
English books for fun so most likely I can read English a lot better 
than writing it. With that background I should hopefully be able to 
understand enough English to translate most strings.

Note that I'm usually working on embedded software where i18n is not 
really a topic because there is no direct human interface (except maybe 
for a serial port that is used by a developer or admin). So I am able to 
find my way in a C file, but I never touched something with gettext.

As a first test to find out how to work with it, I tried to translate a 
few strings and created a commit here:

 
https://github.com/c-mauderer/freeciv/commit/6615faf8378bae24a040f3856e858a5d27b50cfc

Is that the usual form or do you have some other preferred method for 
patches? Do you want pull-requests?

I noted that if I do the "make update-po" like suggested in the wiki here

 
https://freeciv.fandom.com/wiki/Localization#How_to_update_your_translations

I get a lot of changed line numbers and some messages that are marked as 
"fuzzy" after it. That seems hard to verify especially if I would start 
to mix it with new translations. What is the best practice for that? 
Should the changes of "make update-po" be verified by hand? Should they 
be a separate commit? Or is the usual way to mix it all together and 
hope that it works correctly?

In the wiki it is also mentioned that translations shouldn't be done on 
the master branch. Which one would currently be the best one to do 
translations?

Best Regards

Christian