Add chinese translations to docs (#17125) (#17127)

* import zh translations

* Fix broken links

* fix whitespace

(cherry picked from commit a1df57a4ea)

Co-authored-by: Justin Starry <justin@solana.com>
This commit is contained in:
mergify[bot]
2021-05-08 17:09:51 +00:00
committed by GitHub
parent 65e1b881f9
commit b03186e3c6
165 changed files with 13801 additions and 11 deletions

View File

@@ -19,6 +19,10 @@ module.exports = {
crossorigin: "anonymous",
},
],
i18n: {
defaultLocale: 'en',
locales: ['en', 'zh'],
},
themeConfig: {
navbar: {
logo: {
@@ -52,6 +56,10 @@ module.exports = {
label: "Learn",
position: "left",
},
{
type: 'localeDropdown',
position: 'right',
},
{
href: "https://discordapp.com/invite/pquxPsq",
label: "Chat",