Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

feat: docs i18n support #14818

Closed
wants to merge 3 commits into from
Closed

feat: docs i18n support #14818

wants to merge 3 commits into from

Conversation

rmshea
Copy link
Contributor

@rmshea rmshea commented Jan 25, 2021

Problem

Our documentation is only written in English. This PR attempts to add support via Docusaurus' internationalization features.

Summary of Changes

Begin to add i18n for the docs.

TODO

  • Add Crowdin support
  • Localize homepage (use json api)

@stale
Copy link

stale bot commented Feb 2, 2021

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale [bot only] Added to stale content; results in auto-close after a week. label Feb 2, 2021
@rmshea rmshea removed the stale [bot only] Added to stale content; results in auto-close after a week. label Feb 2, 2021
	modified:   src/pages/index.js
@stale
Copy link

stale bot commented Feb 13, 2021

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale [bot only] Added to stale content; results in auto-close after a week. label Feb 13, 2021
@stale
Copy link

stale bot commented Mar 20, 2021

This stale pull request has been automatically closed. Thank you for your contributions.

@stale stale bot closed this Mar 20, 2021
jstarry pushed a commit that referenced this pull request May 28, 2021
* Initial commit for i18n support

* Bring out index page

* Lint
	modified:   src/pages/index.js

* More Crowdin ephemera

* copy src content to i18n/**/docusaurus-plugin-content-docs/current folders

* run write-translations

* remove superflous files in i18n

* fix formatting

* remove icons folders from translations, add ja, pt, vi translations

* fix formatting

* update translation JSON files

* add crowdin support & crowdin:sync command, sync with crowdin

* exclude failing locales

* remove i18n from git cache, add write-heading-ids script

* add crowdin:sync to before_install.sh script

* add write-i18m shortening script & crowdin:download script (also to before_install.sh)

* move crowdin:download from before_install.sh to prebuild hook

* remove prebuild hook

* remove crowdin script, bump deps

* re-add cli/usage

* update package-lock.json

* add translation sync to build.sh for master

* update README

* add ja to localesNotBuilding, write e-ids

* fix formatting

* get on sync with master

* replace check for master branch

* change build script to work on travis

* use refs instead of names

* fix build.sh

* replace head ref check with channel check

* get stable channel in build.sh

* remove zip

* remove header ids

Co-authored-by: rmshea <8948187+rmshea@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
stale [bot only] Added to stale content; results in auto-close after a week.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant