Merge pull request #32933 from a-mccarthy/fixes-31657
Update config.toml for language name standardizationpull/34347/head^2
commit
014979f34a
46
config.toml
46
config.toml
|
@ -305,7 +305,8 @@ languagedirection = "ltr"
|
|||
[languages.zh-cn]
|
||||
title = "Kubernetes"
|
||||
description = "生产级别的容器编排系统"
|
||||
languageName = "中文 Chinese"
|
||||
languageName = "中文 (Chinese)"
|
||||
languageNameLatinScript = "Chinese"
|
||||
weight = 2
|
||||
contentDir = "content/zh-cn"
|
||||
languagedirection = "ltr"
|
||||
|
@ -317,7 +318,8 @@ language_alternatives = ["en"]
|
|||
[languages.ko]
|
||||
title = "Kubernetes"
|
||||
description = "운영 수준의 컨테이너 오케스트레이션"
|
||||
languageName = "한국어 Korean"
|
||||
languageName = "한국어 (Korean)"
|
||||
languageNameLatinScript = "Korean"
|
||||
weight = 3
|
||||
contentDir = "content/ko"
|
||||
languagedirection = "ltr"
|
||||
|
@ -329,7 +331,8 @@ language_alternatives = ["en"]
|
|||
[languages.ja]
|
||||
title = "Kubernetes"
|
||||
description = "プロダクショングレードのコンテナ管理基盤"
|
||||
languageName = "日本語 Japanese"
|
||||
languageName = "日本語 (Japanese)"
|
||||
languageNameLatinScript = "Japanese"
|
||||
weight = 4
|
||||
contentDir = "content/ja"
|
||||
languagedirection = "ltr"
|
||||
|
@ -341,7 +344,8 @@ language_alternatives = ["en"]
|
|||
[languages.fr]
|
||||
title = "Kubernetes"
|
||||
description = "Solution professionnelle d’orchestration de conteneurs"
|
||||
languageName = "Français"
|
||||
languageName = "Français (French)"
|
||||
languageNameLatinScript = "Français"
|
||||
weight = 5
|
||||
contentDir = "content/fr"
|
||||
languagedirection = "ltr"
|
||||
|
@ -354,7 +358,8 @@ language_alternatives = ["en"]
|
|||
[languages.it]
|
||||
title = "Kubernetes"
|
||||
description = "Orchestrazione di Container in produzione"
|
||||
languageName = "Italiano"
|
||||
languageName = "Italiano (Italian)"
|
||||
languageNameLatinScript = "Italiano"
|
||||
weight = 6
|
||||
contentDir = "content/it"
|
||||
languagedirection = "ltr"
|
||||
|
@ -367,7 +372,8 @@ language_alternatives = ["en"]
|
|||
[languages.no]
|
||||
title = "Kubernetes"
|
||||
description = "Production-Grade Container Orchestration"
|
||||
languageName = "Norsk"
|
||||
languageName = "Norsk (Norwegian)"
|
||||
languageNameLatinScript = "Norsk"
|
||||
weight = 7
|
||||
contentDir = "content/no"
|
||||
languagedirection = "ltr"
|
||||
|
@ -380,7 +386,8 @@ language_alternatives = ["en"]
|
|||
[languages.de]
|
||||
title = "Kubernetes"
|
||||
description = "Produktionsreife Container-Orchestrierung"
|
||||
languageName = "Deutsch"
|
||||
languageName = "Deutsch (German)"
|
||||
languageNameLatinScript = "Deutsch"
|
||||
weight = 8
|
||||
contentDir = "content/de"
|
||||
languagedirection = "ltr"
|
||||
|
@ -393,7 +400,8 @@ language_alternatives = ["en"]
|
|||
[languages.es]
|
||||
title = "Kubernetes"
|
||||
description = "Orquestación de contenedores para producción"
|
||||
languageName = "Español"
|
||||
languageName = "Español (Spanish)"
|
||||
languageNameLatinScript = "Español"
|
||||
weight = 9
|
||||
contentDir = "content/es"
|
||||
languagedirection = "ltr"
|
||||
|
@ -406,8 +414,10 @@ language_alternatives = ["en"]
|
|||
[languages.pt-br]
|
||||
title = "Kubernetes"
|
||||
description = "Orquestração de contêineres em nível de produção"
|
||||
languageName = "Português"
|
||||
languageName = "Português (Portuguese)"
|
||||
languageNameLatinScript = "Português"
|
||||
weight = 10
|
||||
|
||||
contentDir = "content/pt-br"
|
||||
languagedirection = "ltr"
|
||||
|
||||
|
@ -419,7 +429,8 @@ language_alternatives = ["en"]
|
|||
[languages.id]
|
||||
title = "Kubernetes"
|
||||
description = "Orkestrasi Kontainer dengan Skala Produksi"
|
||||
languageName = "Bahasa Indonesia"
|
||||
languageName ="Bahasa Indonesia"
|
||||
languageNameLatinScript = "Bahasa Indonesia"
|
||||
weight = 11
|
||||
contentDir = "content/id"
|
||||
languagedirection = "ltr"
|
||||
|
@ -432,7 +443,8 @@ language_alternatives = ["en"]
|
|||
[languages.hi]
|
||||
title = "Kubernetes"
|
||||
description = "Production-Grade Container Orchestration"
|
||||
languageName = "Hindi"
|
||||
languageName = "हिन्दी (Hindi)"
|
||||
languageNameLatinScript = "Hindi"
|
||||
weight = 12
|
||||
contentDir = "content/hi"
|
||||
languagedirection = "ltr"
|
||||
|
@ -444,7 +456,8 @@ language_alternatives = ["en"]
|
|||
[languages.vi]
|
||||
title = "Kubernetes"
|
||||
description = "Giải pháp điều phối container trong môi trường production"
|
||||
languageName = "Tiếng Việt"
|
||||
languageName = "Tiếng Việt (Vietnamese)"
|
||||
languageNameLatinScript = "Tiếng Việt"
|
||||
contentDir = "content/vi"
|
||||
weight = 13
|
||||
languagedirection = "ltr"
|
||||
|
@ -452,7 +465,8 @@ languagedirection = "ltr"
|
|||
[languages.ru]
|
||||
title = "Kubernetes"
|
||||
description = "Первоклассная оркестрация контейнеров"
|
||||
languageName = "Русский"
|
||||
languageName = "Русский (Russian)"
|
||||
languageNameLatinScript = "Russian"
|
||||
weight = 14
|
||||
contentDir = "content/ru"
|
||||
languagedirection = "ltr"
|
||||
|
@ -465,7 +479,8 @@ language_alternatives = ["en"]
|
|||
[languages.pl]
|
||||
title = "Kubernetes"
|
||||
description = "Produkcyjny system zarządzania kontenerami"
|
||||
languageName = "Polski"
|
||||
languageName = "Polski (Polish)"
|
||||
languageNameLatinScript = "Polski"
|
||||
weight = 15
|
||||
contentDir = "content/pl"
|
||||
languagedirection = "ltr"
|
||||
|
@ -478,7 +493,8 @@ language_alternatives = ["en"]
|
|||
[languages.uk]
|
||||
title = "Kubernetes"
|
||||
description = "Довершена система оркестрації контейнерів"
|
||||
languageName = "Українська"
|
||||
languageName = "Українська (Ukrainian)"
|
||||
languageNameLatinScript = "Ukrainian"
|
||||
weight = 16
|
||||
contentDir = "content/uk"
|
||||
languagedirection = "ltr"
|
||||
|
|
|
@ -126,12 +126,14 @@ Add a configuration block for the new language to `config.toml`, under the exist
|
|||
title = "Kubernetes"
|
||||
description = "Produktionsreife Container-Verwaltung"
|
||||
languageName = "Deutsch (German)"
|
||||
languageNameLatinScript = "German"
|
||||
languageNameLatinScript = "Deutsch"
|
||||
contentDir = "content/de"
|
||||
weight = 8
|
||||
```
|
||||
|
||||
The value for `languageName` will be listed in language selection bar. Assign "language name in native script (language name in latin script)" to `languageName`, for example, `languageName = "한국어 (Korean)"`. `languageNameLatinScript` can be used to access the language name in latin script and use it in the theme. Assign "language name in latin script" to `languageNameLatinScript`, for example, `languageNameLatinScript ="Korean"`.
|
||||
The value for `languageName` will be listed in language selection bar. Assign "language name in native script and language (English language name in latin script)" to `languageName`. For example, `languageName = "한국어 (Korean)"` or `languageName = "Deutsch (German)"`.
|
||||
|
||||
`languageNameLatinScript` can be used to access the language name in latin script and use it in the theme. Assign "language name in latin script" to `languageNameLatinScript`. For example, `languageNameLatinScript ="Korean"` or `languageNameLatinScript = "Deutsch"`.
|
||||
|
||||
When assigning a `weight` parameter for your block, find the language block with the highest weight and add 1 to that value.
|
||||
|
||||
|
@ -365,4 +367,3 @@ For more information about working from forks or directly from the repository, s
|
|||
## Upstream contributions
|
||||
|
||||
SIG Docs welcomes upstream contributions and corrections to the English source.
|
||||
|
||||
|
|
Loading…
Reference in New Issue