Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polish translation #399

Open
pierd opened this issue Feb 13, 2023 · 10 comments
Open

Polish translation #399

pierd opened this issue Feb 13, 2023 · 10 comments
Assignees

Comments

@pierd
Copy link
Contributor

pierd commented Feb 13, 2023

Polish translation of the Rust Book for reference: https://github.com/beling/book-pl

Common terms in Polish: beling/book-pl#2

@mgeisler
Copy link
Collaborator

Hi @pierd, thanks a lot for working on this! I've added it to the list of ongoing translations in #282. Please let me know if you run into any trouble with the infrastructure.

When you have a repository setup, you could post it here so that other interested people can easily find it and help out.

@pierd
Copy link
Contributor Author

pierd commented Feb 26, 2023

Hi @mgeisler, I've just started with some automatic translations using cloud-translate and checked a few to see some results when using mdbook. It's currently in this branch: https://github.com/pierd/comprehensive-rust/tree/pl

BTW one thing that confused me initially was that I didn't see any translations after running cloud-translate even though I was pointing mdbook serve to the correct .po file, it doesn't use translations that are marked as fuzzy (in .po) or "Needs work" (in Poedit). Once I verified some in Poedit I've started seeing them in the render website.

@mgeisler
Copy link
Collaborator

Hi @pierd, awesome, thanks for linking the repository!

BTW one thing that confused me initially was that I didn't see any translations after running cloud-translate even though I was pointing mdbook serve to the correct .po file, it doesn't use translations that are marked as fuzzy (in .po) or "Needs work" (in Poedit). Once I verified some in Poedit I've started seeing them in the render website.

Oh yeah, I can see how that would be very confusing! Can I get you to add a sentence about the fuzzy marker to TRANSLATIONS.md? I see that @fechu also asked about the same thing for the German translation just yesterday 😄

@pierd
Copy link
Contributor Author

pierd commented Mar 1, 2023

@mgeisler added here: #466 (also mentioned cloud-translate)

@mgeisler
Copy link
Collaborator

Hi @pierd, would you be up for making a PR with the mostly-machine-translated PO file to the repository? That will get us started and it will make it easier for others to start contributing!

@pierd
Copy link
Contributor Author

pierd commented May 25, 2023

Hi @mgeisler, I had some problems with machine translation in the end - it translated only part of the text. I did go through a bunch of translations by hand. Let me try the machine one again. In any case I'll open a PR with what I have so far.

@mgeisler
Copy link
Collaborator

I had some problems with machine translation in the end - it translated only part of the text.

Okay, feel free to open an issue about this in https://github.com/mgeisler/cloud-translate if you have more details.

In any case, my impression is that the machine translations need a lot of work afterwards.

@pierd
Copy link
Contributor Author

pierd commented May 26, 2023

It worked well this time. I think I just run it once the first time.

@mgeisler
Copy link
Collaborator

Ah, good! So you had to run it multiple times to get everything translated?

I did it like this to give people a chance to control the cost (you're charged per character) and because the API limits the amount of data you can send at once (I could of course have dealt with that internally, but it was simpler not to).

@pierd
Copy link
Contributor Author

pierd commented May 26, 2023

Yes, in the end I had to run it a couple more times until it said that 0 messages were translated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants