Skip to content
This repository was archived by the owner on May 2, 2025. It is now read-only.

Commit 6ff9059

Browse files
authored
Enable i18n with zh(Chinese) for our new website (#492)
- Translate section titles and home page into Chinese - Prepare for translations of other content ---- Signed-off-by: Chris (Gentle) Yang <nodexy@gmail.com>
1 parent d5280cb commit 6ff9059

File tree

79 files changed

+3079
-7
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+3079
-7
lines changed

website/config.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ baseURL = "https://tag-app-delivery.cncf.io/"
22
title = "CNCF TAG App Delivery"
33

44
# Language settings
5-
contentDir = "content"
5+
contentDir = "content/en"
66
defaultContentLanguage = "en"
77
defaultContentLanguageInSubdir = false
88
# Useful when translating.
@@ -53,6 +53,13 @@ languageName ="English"
5353
# Weight used for sorting.
5454
weight = 1
5555

56+
[languages.zh]
57+
title = "CNCF 应用交付 TAG"
58+
decscription = "应用交付 TAG 专注于支持与交付云原生应用程序相关的项目和计划,包括构建、部署、管理和运营。"
59+
languageName = "中文(Chinese)"
60+
contentDir = "content/zh"
61+
weight = 2
62+
5663
[markup]
5764
[markup.goldmark]
5865
[markup.goldmark.renderer]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../../operator-whitepaper/latest
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../../platforms-wg/glossary
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../../platforms-maturity-model
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../../platforms-whitepaper/latest

website/content/wgs/operator/whitepaper

Lines changed: 0 additions & 1 deletion
This file was deleted.

website/content/wgs/platforms/glossary

Lines changed: 0 additions & 1 deletion
This file was deleted.

website/content/wgs/platforms/maturity-model

Lines changed: 0 additions & 1 deletion
This file was deleted.

website/content/wgs/platforms/whitepaper

Lines changed: 0 additions & 1 deletion
This file was deleted.

website/content/zh/_index.md

Lines changed: 53 additions & 0 deletions

website/content/zh/about/_index.md

Lines changed: 19 additions & 0 deletions
Lines changed: 22 additions & 0 deletions
Lines changed: 65 additions & 0 deletions

website/content/zh/blog/_index.md

Lines changed: 6 additions & 0 deletions
Lines changed: 83 additions & 0 deletions
Lines changed: 82 additions & 0 deletions

0 commit comments

Comments
 (0)