summaryrefslogtreecommitdiffstats
path: root/docs/content/en/content-management/multilingual.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/content-management/multilingual.md')
-rw-r--r--docs/content/en/content-management/multilingual.md16
1 files changed, 14 insertions, 2 deletions
diff --git a/docs/content/en/content-management/multilingual.md b/docs/content/en/content-management/multilingual.md
index e1343144e..4e4eba46e 100644
--- a/docs/content/en/content-management/multilingual.md
+++ b/docs/content/en/content-management/multilingual.md
@@ -368,7 +368,7 @@ In case you need to pass a custom data: (`(dict "Count" numeric_value_only)` is
The following localization examples assume your site's primary language is English, with translations to French and German.
{{< code-toggle file="config" >}}
-defaultContentLang = 'en'
+defaultContentLanguage = 'en'
[languages]
[languages.en]
@@ -568,7 +568,19 @@ If there is more than one language defined, the `LanguagePrefix` variable will e
## Generate multilingual content with `hugo new`
-Currently, `hugo new` is not ready to support generating multilingual content. But there is a [proposal topic](https://github.com/gohugoio/hugo/issues/7732) about this in GitHub issue to discuss how it should work.
+If you organize content with translations in the same directory:
+
+```text
+hugo new post/test.en.md
+hugo new post/test.de.md
+```
+
+If you organize content with translations in different directories:
+
+```text
+hugo new content/en/post/test.md
+hugo new content/de/post/test.md
+```
[abslangurl]: /functions/abslangurl
[config]: /getting-started/configuration/