question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

docs(i18n): Add translation mechanism

See original GitHub issue

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

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
aacevskicommented, May 25, 2022

I will be taking this!

0reactions
noobinthisgamecommented, Oct 14, 2022

Not stale 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

docs(i18n): Add translation mechanism · Issue #475 · chakra ...
Description Chinese documentation is so important ! Problem Statement/Justification There are ... docs(i18n): Add translation mechanism #475.
Read more >
i18n - Tutorial - Docusaurus
This tutorial will walk you through the basics of the Docusaurus i18n system. We will add French translations to a newly initialized English ......
Read more >
Translation | Django documentation
Internationalization: in URL patterns¶. Django provides two mechanisms to internationalize URL patterns: Adding the language prefix to the root of the URL ...
Read more >
A Guide to React Localization with i18next | Phrase
i18next provides a mechanism for this lazy loading of translation files via back-end plugins. The official i18next-http-backend plugin will do well here.
Read more >
Rails Internationalization (I18n) API - Ruby on Rails Guides
The I18n gem provides a Pluralization backend that can be used to enable locale-specific rules. Include it to the Simple backend, then add...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found