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

Is there a procedure required to translate the repository into another language? #350

Open
DownyBehind opened this issue May 4, 2023 · 11 comments

Comments

@DownyBehind
Copy link

I already read #326.

I wonder if it is okay to proceed with the procedure left by @eldruin on the issue. #326

I want to translate it into Korean.

thank you.

@eldruin
Copy link
Member

eldruin commented May 4, 2023

Yes, that is still the right procedure. We might do something like having po files at some point in the future since that approach has now appeared but that requires some time to get right and I for one would not have the time to do it.

@DownyBehind
Copy link
Author

Thank you for your reply.
Then, as I said, I will add a link after translating it into Korean.

@almightychang
Copy link

How is it going though? Are you still on translation??

@eldruin
Copy link
Member

eldruin commented Jul 12, 2023

@romancardenas and I are translating this book into Spanish through transifex, which works pretty nicely.
Let me know if you want me to start a translation into Korean or any other language.

@DownyBehind
Copy link
Author

@almightychang I stopped translating for a while because of my other work, but I will do it again soon. But there seems to have been a lot of talk. By the way, are you interested in Korean translation?

@eldruin Do I have to translate in a new way instead of the way you mentioned before (making the translation into github page and adding Link to master branch)?

@eldruin
Copy link
Member

eldruin commented Jul 12, 2023

We are strongly considering taking the approach in #356 and thus we started with a test with a Spanish translation. We still do not know how it will work out, though.

@DownyBehind
Copy link
Author

@eldruin Then can I proceed with the Korean translation in that way? Or should I wait until you guys finish the test?

@eldruin
Copy link
Member

eldruin commented Jul 31, 2023

Sorry @DownyBehind, I wanted to discuss this in our weekly meeting again but have been unable to so far. I will try again tomorrow.
I do not want to waste your time and effort so please hold on for a bit until we try the new approach out.
My status is that we have a roughly 50% Spanish translation here (about 10% of the snippets are not translatable / not worth translation like console outputs). So far the translation experience has been pretty smooth.

@DownyBehind
Copy link
Author

@eldruin Thank you for your answer. Then I'll be waiting for the results of your new attempts

@mgeisler
Copy link
Contributor

My status is that we have a roughly 50% Spanish translation here (about 10% of the snippets are not translatable / not worth translation like console outputs). So far the translation experience has been pretty smooth.

Hi @eldruin, just for my curiosity: are you using Transifex to translate a PO file generated with mdbook-i18n-helpers? I used Transifex ~10 years ago for this — but perhaps the platform now also supports translating Markdown files directly?

If you do use mdbook-i18n-helpers, you should be aware of google/mdbook-i18n-helpers#46. The main branch already has a much better text extraction system than what is released in version 0.1.0. The PR linked has a normalization tool which can will let you convert existing PO files (generated by version 0.1.0) to the new format. The new format removes the Markdown syntax. As an example, # Foo becomes "Foo" in the PO file and the text for tables is extracted on a cell-by-cell basis.

I hope this is useful!

@mgeisler
Copy link
Contributor

I've released version 0.2 of mdbook-i18n-helpers — this includes the much better text extraction which will unwrap paragraphs and remove unnecessary Markdown syntax in the translation files. The normalization tool is also included so that you can keep existing translations intact (if you have any, we have ~18 for Comprehensive Rust). Please let me know of any problems you might run into! Thanks 🙂

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

No branches or pull requests

4 participants