summaryrefslogtreecommitdiff
path: root/docs/src/components
diff options
context:
space:
mode:
authorGravatar Xinyuan Wang <40495740+ChelesteWang@users.noreply.github.com> 2021-08-05 00:05:00 +0800
committerGravatar GitHub <noreply@github.com> 2021-08-04 09:05:00 -0700
commit2bd178d4f95e9d1a30135a774a4b21e0bd7e20be (patch)
tree51e3b8f4ac656ebd1ebb5bc8e93109ca04803a55 /docs/src/components
parentc7aca2c9b258ed941f7089dfa3ad092be9419a76 (diff)
downloadastro-2bd178d4f95e9d1a30135a774a4b21e0bd7e20be.tar.gz
astro-2bd178d4f95e9d1a30135a774a4b21e0bd7e20be.tar.zst
astro-2bd178d4f95e9d1a30135a774a4b21e0bd7e20be.zip
docs(translate):translate getting-started.md into ZH (CN & TW) (#979)
* translate getting-started.md into ZH (CN & TW) * fix translate the title for getting-started.md * add zh CN & TW config in Docs * fix config "locale" * fix config.ts add route for CN & TW * fix installation.md Next Steps title 's level * translate quick-start.md & installation.md & examples.md into ZH (CN ) * Add lang variable to docs frontmatter for translations * Update docs/src/pages/zh-TW/getting-started.md Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz> Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
Diffstat (limited to 'docs/src/components')
-rw-r--r--docs/src/components/Header/LanguageSelect.tsx6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/src/components/Header/LanguageSelect.tsx b/docs/src/components/Header/LanguageSelect.tsx
index 0464bdddf..dfa0da356 100644
--- a/docs/src/components/Header/LanguageSelect.tsx
+++ b/docs/src/components/Header/LanguageSelect.tsx
@@ -55,6 +55,12 @@ const LanguageSelect: FunctionalComponent<{ lang: string }> = ({ lang }) => {
<option value="fi">
<span>Suomi</span>
</option>
+ <option value="zh-CN">
+ <span>简体中文</span>
+ </option>
+ <option value="zh-TW">
+ <span>繁体中文</span>
+ </option>
</select>
</div>
);