Skip to content
This repository was archived by the owner on Jan 23, 2024. It is now read-only.
This repository was archived by the owner on Jan 23, 2024. It is now read-only.

docs(i18n): Add translation mechanism #475

@huanlirui

Description

@huanlirui

Description

Chinese documentation is so important !

Problem Statement/Justification

There are a large number of developers in China who are limited by their English level and cannot use many advanced and powerful libraries.

Proposed Solution or API

good

Alternatives

No response

Additional Information

No response

Proposed workflow

  • Check if localization works
  • Check the language switcher
  • Bring back the i18n config in Next.js
  • Create a new LOCALIZATION.md document that outlines how to contribute to the localization
  • Create a new folder in i18n to keep the alternative-language docs
  • Modify the getStaticProps, get the locale property from the ctx and return the corresponding mdx file
  • Figure out a way to notify translations when changes occur in the existing English pages

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions