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

[Question] Translation Guide #46

Closed
qgp9 opened this issue Feb 27, 2018 · 7 comments
Closed

[Question] Translation Guide #46

qgp9 opened this issue Feb 27, 2018 · 7 comments
Labels

Comments

@qgp9
Copy link
Contributor

qgp9 commented Feb 27, 2018

I would like to translate docs to Korean.
Do we have any guideline for a translation?
Naturally, I presume that I can just fork a repo and add/edit build/index.js and content/docs/ko.
However, I would be glad if I can have any other guideline or advice. :-)

@rigor789
Copy link
Member

Hi, you can open up a PR with the translation (we'd like to keep it in this repo for simplicity)

First thing, edit https://github.com/nativescript-vue/nativescript-vue.org/blob/master/build/index.js#L39-L41
to set the label to be shown in the language selector,

and then add ko to the locales array here: https://github.com/nativescript-vue/nativescript-vue.org/blob/master/build/index.js#L113

If you run a build (npm run build) a new folder with the english docs should be created for ko. You can then edit these documents and translate them into Korean.

If something is not translated, keep it english and translate it later. Let me know if some of these steps don't work / you need help with things.

I would suggest you open a PR as soon as you start, and that way we can stay in the loop and leave feedback when needed.

@qgp9
Copy link
Contributor Author

qgp9 commented Feb 27, 2018

Thanks @rigor789
I'll make a PR soon with a first page and initial environment :-)

@lex111
Copy link
Contributor

lex111 commented Mar 4, 2018

Hi @rigor789

I want to make the translation into Russian, but in my own repository, by analogy, as it is currently done with the Russian translation of the Vue.js documentation https://github.com/translation-gang/ru.vuejs.org/

Is this possible?

@rigor789
Copy link
Member

rigor789 commented Mar 4, 2018

Hi @lex111 we have chosen a different approach for translations, and we'd like to keep them in the same repository (this one). You can work on the Russian translation in your own repository, but we would have to merge it into this repository. Are there any specific reasons you want to have a separate repository?

@lex111
Copy link
Contributor

lex111 commented Mar 4, 2018

The fact is that there is such an organization https://github.com/translation-gang in which it is planned to create a new repository for translation documentation this project, it's easier for us to translate in that way and support the translation in the future. We will synchronize through PR, as usual.

@rigor789
Copy link
Member

rigor789 commented Mar 4, 2018

Ah very cool org! So the way things are set up currently, you will have to fork the repo, and then PR the changes, but we could try working on a better solution, maybe make the ru directory a submodule or something, and then you can add a webhook when the translation changes for us to re-build the site. Let me know if you want to give that a shot

@lex111
Copy link
Contributor

lex111 commented Mar 5, 2018

Oh, a good idea, this is to automate, we need to think about that, we plan to start soon, we'll create after PR.

@rigor789 rigor789 closed this as completed Oct 7, 2019
@rigor789 rigor789 pinned this issue Oct 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants