Closed ghost closed 3 years ago
Hello @iucvcom
Please follow this official Hugo Docs https://gohugo.io/content-management/multilingual/
Hi, in relation to this, where is defaultContentLanguage: en
? I do not see this line in config.yaml
in the config\_default
folder.
Hello @eteitelbaum
This is not available in the file right now, but you can add it at the top of the config.toml
. and it will work. thank you
Thanks, what if I just want to set the language to English and get rid of the toggle between English and German (all the way on the top right menu)? Is there a way to do that? I tried clearing out languages.toml
but then the site won't compile. I really just want to get rid of that toggle button (EN/DE).
You can disable de
language, then your multilingual will automatically turn off. here is how you can do it https://gohugo.io/content-management/multilingual/#disable-a-language
I want to set other languages as the default language instead of English. What should I do?