Coder Social home page Coder Social logo

Translations about comprehensive-rust HOT 37 OPEN

google avatar google commented on July 23, 2024 2
Translations

from comprehensive-rust.

Comments (37)

mbpouri avatar mbpouri commented on July 23, 2024 2

hey @mgeisler,
could you please create an issue for Farsi/Persian as well?
more than happy to contribute.
cheers

from comprehensive-rust.

hilbert-yaa avatar hilbert-yaa commented on July 23, 2024 1

Working on the Chinese Mandarin translation of the book, thanks for your prior instructions! Can you help create an issue for that?

from comprehensive-rust.

mgeisler avatar mgeisler commented on July 23, 2024 1

Working on the Chinese Mandarin translation of the book, thanks for your prior instructions! Can you help create an issue for that?

Thanks @hilbert-yaa for creating the issue, I've added it to the list above!

Hey πŸ‘‹ Let’s translate it in Russian. I can do that

Awesome @baltuky, I've created #326 for that.

from comprehensive-rust.

wfranck avatar wfranck commented on July 23, 2024 1

could I help with this issue in Spanish? I had not seen that the ticket for Spanish was open and I made progress with the translation.

from comprehensive-rust.

CoinEZ-JPN avatar CoinEZ-JPN commented on July 23, 2024 1

would be more than happy to give Japanese a try if not already being handled

from comprehensive-rust.

mgeisler avatar mgeisler commented on July 23, 2024 1

would be more than happy to give Japanese a try if not already being handled

Hi @CoinEZ-JPN, that would be amazing! Just follow the translation instructions and refer to #652 in your PRs.

You're encouraged to submit a PR with an almost-untranslated po/ja.po file. That way you can check that the tooling works for you. (This applies to all languages: please ensure there is a po/xx.po file for your language. That also makes it easier for others to help out!).

from comprehensive-rust.

mgeisler avatar mgeisler commented on July 23, 2024 1

Hey @mbpouri, there is now a #671 for you to work on! Thanks a lot for offering to help!

from comprehensive-rust.

mgeisler avatar mgeisler commented on July 23, 2024 1

Hi there! Just a heads up: I hope to land google/mdbook-i18n-helpers#46 in the next few days. After that, I will make a new release of mdbook-i18n-helpers and normalize all our PO files.

The PR is the final bit needed for us to update mdbook-i18n-helpers. The new version extracts text in a much more fine grained way. As you've all seen, we currently extract the text as-is, with indentation and newlines etc. The new version will extract text in a "logical" fashion: paragraphs are unwrapped, list items are extracted one-by-one, headers are extracted without leading "#". Even tables are extracted better: you now get a message per cell instead of a single message with the entire table.

I hope this will make your lives easier since you'll see much less Markdown syntax in your PO files!

from comprehensive-rust.

mgeisler avatar mgeisler commented on July 23, 2024 1

@henrif75, could you put refresh PRs for the translations that haven't been touched in, say, 2-3 months? Just to clean them up and incorporate the new content for anyone who wants to contribute.

from comprehensive-rust.

mgeisler avatar mgeisler commented on July 23, 2024 1

Hi all! I wanted to let you know about #1460. This is an update to mdbook-i18n-helpers which will remove ~6k lines from the PO files. It changes the way code blocks are processed: we now extract strings and comments directly.

If you have translated the comments of one or more code blocks, then please run mdbook-i18n-normalize on your PO file to preserve the translations. You can do this before/after refreshing the translation. See #1461 for an example PR which shows the state after normalization.

I hope this further reduces the churn in the translations and makes it easier to work with the large code samples in this course.

from comprehensive-rust.

martcpp avatar martcpp commented on July 23, 2024 1

@henrif75 i will start working on it soon i can also help with code review as i am a developer too

from comprehensive-rust.

paguedem avatar paguedem commented on July 23, 2024

Is there a translation in French? If not i would like to do it.

from comprehensive-rust.

mgeisler avatar mgeisler commented on July 23, 2024

Is there a translation in French? If not i would like to do it.

Hey @dblackstar, nobody has signed up for that yet! It would be awesome to have a French translation too. Let me quickly create an issue for that.

from comprehensive-rust.

baltuky avatar baltuky commented on July 23, 2024

Hey πŸ‘‹ Let’s translate it in Russian. I can do that

from comprehensive-rust.

mgeisler avatar mgeisler commented on July 23, 2024

I've attached Cloud Translate versions of the messages.pot to the new issues. Please let me know if you need me to update anything else. You can also generate those yourself via #291.

from comprehensive-rust.

hilbert-yaa avatar hilbert-yaa commented on July 23, 2024

I've done that on my side. Thanks!

from comprehensive-rust.

mgeisler avatar mgeisler commented on July 23, 2024

Hi all, if you haven't already, please take a look at the Rust Book translations: https://doc.rust-lang.org/book/appendix-06-translation.html. When possible, I suggest using the same terminology as they use.

from comprehensive-rust.

pierd avatar pierd commented on July 23, 2024

Hi @mgeisler, I could do a Polish translation.

from comprehensive-rust.

mgeisler avatar mgeisler commented on July 23, 2024

Hi @mgeisler, I could do a Polish translation.

Hi @pierd, thanks a lot, that would be super cool! If you create an issue for it, then I'll link it here!

from comprehensive-rust.

pierd avatar pierd commented on July 23, 2024

Created the issue for Polish translation: #399

from comprehensive-rust.

pierd avatar pierd commented on July 23, 2024

Do we generally translate source code snippets? IMHO it definitely makes sense for the comments and maybe string literals but not really for variable/function/etc names.

I was checking other translations for some examples. Brazilian Portuguese version translates some string literals and some comments but not all (modules, some exercise) while Korean version leaves the string literals as is but translates all comments (modules, the same exercise).

from comprehensive-rust.

mgeisler avatar mgeisler commented on July 23, 2024

Do we generally translate source code snippets? IMHO it definitely makes sense for the comments and maybe string literals but not really for variable/function/etc names.

I agree: I would definitely translate the comments and perhaps also strings.

Note that even if you want to reuse the English text for the translation, it pays off to copy it (most PO editors can do this easily). This is because it gives you one string less to care about when looking at the PO file.

@jiyongp, @jooyunghan, @rastringer, @hugojacob, did you discuss this too?

It would be great to update TRANSLATIONS.md with guidance about this.

from comprehensive-rust.

jiyongp avatar jiyongp commented on July 23, 2024

No. I don't think we (Korean translators) have reached to a consensus on that. Even the Korean translation of the Rust book is inconsistent in its translations of comments.

I just wish we seldom use comments in code snippets.

from comprehensive-rust.

jooyunghan avatar jooyunghan commented on July 23, 2024

For production-ready translations, I'd translate comments and string literals as well (but not variables) in the code snippets. For this project, I put more focus on slide text and speaker notes than code snippets. In most cases, comments/literals were in simple/short English which I thought we could do it later when we have time.

from comprehensive-rust.

Bot-Kerem avatar Bot-Kerem commented on July 23, 2024

#500

from comprehensive-rust.

mgeisler avatar mgeisler commented on July 23, 2024

Hey all, I've written up a bit about how I suggest approaching reviews of the many translation PRs. Basically, help the contributors and err on the side of accepting contributions over trying to make everything perfect in the first go.

from comprehensive-rust.

mgeisler avatar mgeisler commented on July 23, 2024

Just a heads up: I hope to land google/mdbook-i18n-helpers#46 in the next few days.

The PR to mdbook-i18n-helpers is merged. I will make a release tomorrow and put up a PR which normalizes the PO files. I will also apply the same normalization to all in-flight PRs β€” this should allow them to merge cleanly onto the normalized PO files.

from comprehensive-rust.

mgeisler avatar mgeisler commented on July 23, 2024

Hi all translators! The PRs are all merged, thanks @henrif75 for helping with that!

You are all invited to refresh the translations now. Afterwards, please go through the PO files and remove fuzzy markers.

from comprehensive-rust.

mgeisler avatar mgeisler commented on July 23, 2024

Hi again, I had another idea for how we can avoid churn in the PO files: google/mdbook-i18n-helpers#127. Put simply, we could round or remove the line numbers. We could also remove the source location completley.

Do people here use the source location to look up the surrounding English text when translating?

from comprehensive-rust.

henrif75 avatar henrif75 commented on July 23, 2024

Hi again, I had another idea for how we can avoid churn in the PO files: google/mdbook-i18n-helpers#127. Put simply, we could round or remove the line numbers. We could also remove the source location completley.

Do people here use the source location to look up the surrounding English text when translating?

I don't use the line numbers, but the source file yes.

from comprehensive-rust.

AdrienBaudemont avatar AdrienBaudemont commented on July 23, 2024

How would that interact with poedit? I have been using this tool when working on translations.

from comprehensive-rust.

mgeisler avatar mgeisler commented on July 23, 2024

I don't use the line numbers, but the source file yes.

Okay, so rounding line numbers to 10, 20, ... would not cause much problems for you.

How would that interact with poedit? I have been using this tool when working on translations.

I hope it will handle out of bounds line numbers gracefully, but I don't know πŸ˜„ So if the message claims to be from foo.md:120 but there are only 128 lines in foo.md, then Poedit ought to handle this in some reasonable way.

from comprehensive-rust.

azevedoalice avatar azevedoalice commented on July 23, 2024

I'd be happy to help with Brazilian Portuguese.

from comprehensive-rust.

henrif75 avatar henrif75 commented on July 23, 2024

I'd be happy to help with Brazilian Portuguese.

That would be great, @azevedoalice !
You can follow instructions above and start reviewing the outstanding PRs for pt-BR.
Welcome!

from comprehensive-rust.

martcpp avatar martcpp commented on July 23, 2024

is there a translation for Nigeria pidgin if not will love to do that

from comprehensive-rust.

henrif75 avatar henrif75 commented on July 23, 2024

Hi @martcpp we don't and that would be awesome. In the first post of this issue, there are information on how to get started.
It would very important too if you can find another pidgin speaker to help out with code reviews in the future too.
Thank you!

is there a translation for Nigeria pidgin if not will love to do that

from comprehensive-rust.

martcpp avatar martcpp commented on July 23, 2024

@henrif75 i will start working on it soon i can also help with code review as i am a developer too

Hi @martcpp we don't and that would be awesome. In the first post of this issue, there are information on how to get started. It would very important too if you can find another pidgin speaker to help out with code reviews in the future too. Thank you!

is there a translation for Nigeria pidgin if not will love to do that

from comprehensive-rust.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.