Add Indonesian translation
rozakbuhari opened this issue · comments
Hi @joeldenning, looks like there is no Indonesian translation yet for the website, would you mind setting up a repo at id.single-spa.js.org
? I would love to contribute to it. Thank you!
Hi @rozakbuhari, do you know anyone else who can help with the translation? We prefer having at least two people helping with the translation.
For reference, here was the issue for adding the Russian translation: #369
Here's the checklist for what needs to be done. Once we confirm there are at least two people willing to help with the translation, I'll start doing them.
Tasks for me
- Decide on a language code to use. I agree that
id
is good. - Create a new repo called
id.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 id git@github.com:single-spa/id.single-spa.js.org.git
git push id master:master
- Update docusaurus config to correct domain (example at single-spa/ru.single-spa.js.org@b809789)
- Update CircleCI badge in readme to correct url (example at 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/id.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 Indonesian to translations.js, so that it appears in the list at https://single-spa.js.org/languages
Tasks for @rozakbuhari
- Find at least one other person besides @rozakbuhari who can help with the translations.
- Watch the id.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
Tasks for @guguji5
- Set up the bot to automatically commit to id.single-spa.js.org whenever a PR is merged into single-spa.js.org.
Thanks for the response @joeldenning, I'll look for someone to help soon
I'll help for the translation 🙋🏼♂️ if it's okay or what can I do for helping you guys?
@hryer Thank you for being interested!
The repository is created at https://github.com/single-spa/id.single-spa.js.org. I have created js-org/js.org#5717 to add the domain. Also created #430 to add the link.
@rozakbuhari @hryer, please do the following:
- Accept the invitation to the Github repository. You can do this by going to https://github.com/single-spa and there is a banner at the top.
- Watch the id.single-spa.js.org 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
Done!. The invitation accepted!, waiting for the the subdomain to live.
@rozakbuhari @hryer it is live! See https://id.single-spa.js.org and https://single-spa.js.org/languages. Also, feel free to join the #translations
channel in this Slack workspace and say hello there!