Skip to content

Translations

Kim edited this page Sep 3, 2022 · 3 revisions

As we add new languages for translation, the Sumo Logic Doc team can set up the files for translation and tags for the language. When we add a new language to translate, we create a base of site interface files and documentation content using a command. This includes the top nav, sidebar navigation, and landing page content.

All english content is the source of truth for all!

Current languages supported:

  • English: en
  • Japanese: ja

Contributing Translations

Each supported language will have all user interface and documentation in a language specific folder under i18n:

Language Interface translations Documentation content
English /src in theme and pages /docs
Japanese /i18n/ja/docusaurus-theme-classic
code.json is landing page
/i18n/ja/docusaurus-plugin-content-docs/current
current.json is sidebar categories

Updating Contributions

As you add new Markdown files in English, you will need to create copies in the language folders. The /docs folder structure and content is exactly the same in all other language folders.

Do not change the following:

  • All file names should remain in English to work with the navigation and builds. JSON files allow you to enter translated names for those entries.
  • All screenshots are currently in English. Translated images can be added per language as needed. More info coming.

If you only update content in existing files, we will need to track these changes and provide them for translation.

Clone this wiki locally