mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-12 11:54:53 -04:00
Update multilingual.md
This commit is contained in:
parent
61c59c67eb
commit
b5c3bcd3b6
@ -349,12 +349,6 @@ And then in the template:
|
|||||||
```
|
```
|
||||||
{{ i18n "readingTime" .ReadingTime }}
|
{{ i18n "readingTime" .ReadingTime }}
|
||||||
```
|
```
|
||||||
To track down missing translation strings, run Hugo with the `--i18n-warnings` flag:
|
|
||||||
|
|
||||||
```
|
|
||||||
hugo --i18n-warnings | grep i18n
|
|
||||||
i18n|MISSING_TRANSLATION|en|wordCount
|
|
||||||
```
|
|
||||||
|
|
||||||
## Customize Dates
|
## Customize Dates
|
||||||
|
|
||||||
@ -438,6 +432,13 @@ Hugo will generate your website with these missing translation placeholders. It
|
|||||||
|
|
||||||
For merging of content from other languages (i.e. missing content translations), see [lang.Merge](/functions/lang.merge/).
|
For merging of content from other languages (i.e. missing content translations), see [lang.Merge](/functions/lang.merge/).
|
||||||
|
|
||||||
|
To track down missing translation strings, run Hugo with the `--i18n-warnings` flag:
|
||||||
|
|
||||||
|
```
|
||||||
|
hugo --i18n-warnings | grep i18n
|
||||||
|
i18n|MISSING_TRANSLATION|en|wordCount
|
||||||
|
```
|
||||||
|
|
||||||
## Multilingual Themes support
|
## Multilingual Themes support
|
||||||
|
|
||||||
To support Multilingual mode in your themes, some considerations must be taken for the URLs in the templates. If there is more than one language, URLs must meet the following criteria:
|
To support Multilingual mode in your themes, some considerations must be taken for the URLs in the templates. If there is more than one language, URLs must meet the following criteria:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user