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

HELP to Translate #23

Open
milesibastos opened this issue Jan 27, 2017 · 18 comments
Open

HELP to Translate #23

milesibastos opened this issue Jan 27, 2017 · 18 comments

Comments

@milesibastos
Copy link

Hi, congratulations for the great job!
I'm thinking about translate to pt-BR but I'm not sure the best approach to do it.
Maybe convert it to GitBook would be an option to help extract the markdown from the code an translate it...
I would like to hear you about it.

@dabbott
Copy link
Owner

dabbott commented Jan 31, 2017

Hi! Translations would be very helpful!

I think we need the ability to switch back and forth between markdown, React, and other JS code, so I don't think GitBook will work. (although I'm not sure - I haven't used GitBook)

I would probably create a separate directory, e.g. Pages/pt-BR, with the translated pages in that directory. We would move existing pages to Pages/en-US. Then depending on the user's language setting, we could load from the translated directory. (We would do that here: https://github.com/dabbott/react-native-express/blob/master/src/pages/createProxyComponent.js#L11)

So the components would be entirely separate, loaded on demand. This gives us a lot of flexibility. Any common code between languages (e.g. the examples, if there are no comments to translate) could then be pulled out into a separate shared directory.

@francescjimenez
Copy link

Hi! It's not complicated:
https://toolchain.gitbook.com/languages.html

I could help the translation to Spanish

@josenaves
Copy link

@dabbott I can also help you to translate to pt-BR. Can I just fork this repo and do the translation?
Or are we going through something more sophisticated scheme ?

@userid451
Copy link

Hey, @dabbott I would also like to help in translating your awesome react native blog/tutorial to Arabic. Maybe more insight in the scheme like @josenaves stated will be a great head start in the right direction?

@josenaves
Copy link

@dabbott we want to translate the document. Can I make a fork and just translate it ?

@userid451
Copy link

@josenaves How are you planning to translate? any tools(gitbook) or approaches you're going to follow? Maybe we can discuss it here and whoever wants to translate will follow whatever guide we come with

@josenaves
Copy link

@lowkeypapi In fact, I don't think I'd use Gitbook (see #23 (comment)).

What I'm intend to do is just create a fork and start coding. Then @dabbott could relocate the pt-BR version into a new directory and make the adjustments in the main English page.

@userid451
Copy link

@josenaves Sounds like a plan. Let the games begin

@dabbott
Copy link
Owner

dabbott commented Feb 28, 2018

👍 sounds great, I like the fork plan. I can move the files around whenever you’re ready.

@josenaves
Copy link

josenaves commented Mar 1, 2018

Awesome !

I've just translated the introduction (https://github.com/josenaves/react-native-express/blob/intro/src/pages/Introduction.js)

Quick question for you @dabbott :

Do you think I should translate the code (examples) also ?

@dabbott
Copy link
Owner

dabbott commented Mar 1, 2018

Hmmm, I don’t really know. I don’t have a strong opinion either way - whatever you want to do is good. I’m sort of under the impression that most code is in English even if the tutorial is in another language.

@josenaves
Copy link

Yes, @dabbott ! I feel the same about using English in code. But I cannot tell just by myself.

Well, I'll keep the code in English for while.

@cnscorpions
Copy link

Hey, you guys, I'd like to fork it and translate from English to Chinese :)

@dabbott
Copy link
Owner

dabbott commented May 18, 2020

That'd be awesome!

@cnscorpions
Copy link

@dabbott Translation to Chinese is in progress here. Please add it in readme of this repo. 😆 thanks

@dabbott
Copy link
Owner

dabbott commented Jun 7, 2020

Wow, awesome work! I added it to the README.

Whenever you think it's far enough along I'll also add a link from the index page of the website.

At some point I want to update the website to serve multiple translations, although I'm not sure I'll have time this month

@cnscorpions
Copy link

@dabbott got it. Thanks

@fegvilela
Copy link

What's the pt-BR translation status? Is it complete?

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

7 participants