Russian translation
Smekalin opened this issue · comments
Hi! Have we now work for Russian translation in progress? If not I want to write it. Can you create ru.single-spa.js.org
repo?
Hi @Smekalin - thanks for offering to help with this. We do not have a russian translation yet. Do you know of any others who can help you with the translation. We prefer having at least two people helping with the translation.
Also, for reference, here was the discussion about the Spanish translation: #317.
Tasks for me
- Decide on a language code to use. I agree that
ru
is good. - Create a new repo called
ru.single-spa.js.org
. Manually initialize it to be the same git tree as single-spa.js.org. Do not do this by forking the repo -- a fork has a separate git tree. You can do this by initializing to empty repo (no readme, no gitignore) and then adding that as a remote to your local copy ofsingle-spa.js.org
:
cd single-spa.js.org
git remote add ru git@github.com:single-spa/ru.single-spa.js.org.git
git push ru master:master
- Set up the bot to automatically commit to ru.single-spa.js.org whenever a PR is merged into single-spa.js.org. When a merge conflict happens, a pull request is created instead of a commit to master. We're currently doing this with https://github.com/guguji5/sync-fork-repo, but i don't think it is yet set up to handle more repos besides the
zh-hans
repo. @guguji5 can you clarify? Perhaps should we transfer that repository into https://github.com/single-spa so that it's owned and managed by you, the single-spa core team, and other translators. - Update docusaurus config to correct domain single-spa/ru.single-spa.js.org@b809789
- Update CircleCI badge in readme to correct url single-spa/ru.single-spa.js.org@e6660e0
- Enable builds in CircleCI. Add the GITHUB_TOKEN env variable
- Modify
/website/static/CNAME
in to be the correct domain. single-spa/ru.single-spa.js.org@7bd77eb - Force HTTPS in the repository settings in Github. This takes a day or so after the CNAME is set for the SSL cert to be set up.
- Create a pull request to the js.org repo, adding the subdomain. Should be similar to this: js-org/js.org#3747
- Add Russian to translations.js, so that it appears in the list at https://single-spa.js.org/languages
Tasks for @Smekalin
- Find at least one other person besides @Smekalin who can help with the translations.
- Watch the ru.single-spa.js.org Github repository for all activity
- Translate the files
/website/versioned_docs/version-5.x
directory. Do not translate the/docs
directory. Also, translate each of the pages in/website/pages
The repository is at https://github.com/single-spa/ru.single-spa.js.org
Pull request for the subdomain is at js-org/js.org#5037
@Smekalin @joeldenning Hello! I would like to help you with Russian translation
@astra1 Thank you! I don't have a permissions for create a branch in ru-repo now.
I forked ru-repo (https://github.com/Smekalin/ru.single-spa.js.org) and started translate it in fork repo.
@joeldenning Can you give me and @astra1 permissions for push branches? Or should we do it in fork repo?
I gave you both permissions to the repo. You can accept the invitation in your email, or at github.com/single-spa.
I added russian to translations.js - see https://github.com/single-spa/single-spa.js.org/blob/master/website/src/data/languages.js.
@guguji5 can you help set up the bot to sync code from single-spa.js.org to ru.single-spa.js.org?
@astra1 @Smekalin can you both Watch the ru.single-spa.js.org repository for all activity?
Also, @astra1 and @Smekalin could you join the single-spa slack workspace and then join the #translations
channel and say hello there?
@guguji5 can you confirm whether the bot is set up for ru.single-spa.js.org? If not, I will look into setting it up myself.
@joeldenning The sync script failed because of some reason, I fix it and add bot for ru.single-spa.js.org.
it works as expect (single-spa/ru.single-spa.js.org#4)
now it runs at every 0:00, I will check it tomorrow.
Thanks!