From b5c3bcd3b6369e0e229ea1b566c5b073a53b1e6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Tue, 30 Oct 2018 22:33:33 +0100 Subject: [PATCH] Update multilingual.md --- content/en/content-management/multilingual.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/content/en/content-management/multilingual.md b/content/en/content-management/multilingual.md index c72cb50ce..e8d2291ae 100644 --- a/content/en/content-management/multilingual.md +++ b/content/en/content-management/multilingual.md @@ -349,12 +349,6 @@ And then in the template: ``` {{ 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 @@ -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/). +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 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: