본문으로 건너뛰기

Help translate the docs

I'm always looking for people to translate the documentation into different languages. If you want to help use this guide to help you get started!

How to translate

Prerequisites

  • nodejs installed
  • npm installed
  • git installed

Setup i18n

정보

After running npm run write-translations -- --locale <locale code> a new folder will be created in the i18n folder

  • Remove the docusaurus-plugin-content-blog folder
  • Create a current folder inside docusaurus-plugin-content-docs
  • Copy the contents of docs to the current folder
  • Start translating!

Testing the translation

If you are done translating you can test that version of the site by doing the following:

  • Navigate to the docusaurus folder
  • Run: npm start -- --locale <locale code>

Opening a Pull request