google / comprehensive-rust

This is the Rust course used by the Android team at Google. It provides you the material to quickly teach Rust.
https://google.github.io/comprehensive-rust/
Apache License 2.0
27.94k stars 1.67k forks source link

German translation #285

Open mgeisler opened 1 year ago

mgeisler commented 1 year ago

There is a German translation of the "The Rust Programming Language" book available here: https://rust-lang-de.github.io/rustbook-de/.

Translation Status

ronaldfw commented 1 year ago

There is a German translation of the "The Rust Programming Language" book available here: https://rust-lang-de.github.io/rustbook-de/

I'll aim to be consistent with the translation there, in particular when it comes to technical terms.

mgeisler commented 1 year ago

I'll aim to be consistent with the translation there, in particular when it comes to technical terms.

That's a great idea! We should try to apply that principle to other translations as well :smile:

mgeisler commented 1 year ago

@ronaldfw, here is a machine-generated file to get started: de.zip.

Throvn commented 1 year ago

I just wanted to drop by and offer my support.

mgeisler commented 1 year ago

Hi @Throvn, help would be very much appreciated!

There has been some PRs to the German translation, but there are still many strings to translate. It would be helpful if you would follow the instructions in TRANSLATIONS.md to sync the de.po file with the latest strings added (without translating them). Then it would be easier to do followup PRs with translations.

Throvn commented 1 year ago

I will take on the task thanks for letting me know.

mgeisler commented 1 year ago

Hi @ronaldfw and @Throvn, how complete is the German translation now?

Throvn commented 1 year ago

I'm sorry @mgeisler but from our conversation above it was not clear to me that I should help with the german translation. If this is still the case, I will start working on it and open a WIP PR. So far though, there is 0 progress from my side.

mgeisler commented 1 year ago

I'm sorry @mgeisler but from our conversation above it was not clear to me that I should help with the german translation. If this is still the case, I will start working on it and open a WIP PR.

Sorry about the confusion! It would be very helpful to get your help with this!

I can see in the status check that there are 226 translated messages already, so the progress is not at zero any longer :smile:

The best way (in my opinion) is to merge the translation in small steps — that makes reviews easier too.

Throvn commented 1 year ago

Thank you! I have to admit that this is the first time contributing to translations, so I would appreciate if you could tell me on how exactly I approach this.

Here is how I would do it but I would be grateful, if you have some suggestions or improvement proposals:

  1. Generate a new de.po template for german (like I did before)
  2. Open the generated file in PoEdit and check fuzzy translated lines and translate new lines (by adhering to the german Rustlang Book terminology)
  3. Open a PR with the updated/reviewed de.po file. I would aim on finishing a logical unit (e.g. a chapter) before opening the PR.
  4. Wait until I have permission to proceed or the PR is merged.
mgeisler commented 1 year ago

I have to admit that this is the first time contributing to translations, so I would appreciate if you could tell me on how exactly I approach this.

Your steps are precisely the steps I would suggest!

  1. Generate a new de.po template for german (like I did before)

More precisely, use you should use msgmerge for this: Updating an Existing Translation.

mgeisler commented 1 year ago

Thanks @Throvn for getting the translation started! If others want to help out, please feel free to jump in! There are enough strings for everybody :smile: