Add chinese translations to docs (#17125)

* import zh translations

* Fix broken links

* fix whitespace
This commit is contained in:
Justin Starry
2021-05-09 00:46:24 +08:00
committed by GitHub
parent 6927d0c77e
commit a1df57a4ea
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",