Update l10n guide to use both native and English names
parent
503e0cf1c9
commit
258b71ae01
|
@ -125,11 +125,14 @@ Add a configuration block for the new language to `config.toml`, under the exist
|
||||||
[languages.de]
|
[languages.de]
|
||||||
title = "Kubernetes"
|
title = "Kubernetes"
|
||||||
description = "Produktionsreife Container-Verwaltung"
|
description = "Produktionsreife Container-Verwaltung"
|
||||||
languageName = "Deutsch"
|
languageName = "Deutsch (German)"
|
||||||
|
languageNameLatinScript = "German"
|
||||||
contentDir = "content/de"
|
contentDir = "content/de"
|
||||||
weight = 3
|
weight = 8
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Assign "language name in native alphabets (language name in English alphabets)" to `languageName`, for example, `languageName = "한국어 (Korean)"`. Also, assign "language name in Latin script" to `languageNameLatinScript`, for example, `languageNameLatinScript ="Korean"`.
|
||||||
|
|
||||||
When assigning a `weight` parameter for your block, find the language block with the highest weight and add 1 to that value.
|
When assigning a `weight` parameter for your block, find the language block with the highest weight and add 1 to that value.
|
||||||
|
|
||||||
For more information about Hugo's multilingual support, see "[Multilingual Mode](https://gohugo.io/content-management/multilingual/)".
|
For more information about Hugo's multilingual support, see "[Multilingual Mode](https://gohugo.io/content-management/multilingual/)".
|
||||||
|
|
Loading…
Reference in New Issue