Simplify writing

This commit is contained in:
sergioisidoro
2020-06-06 20:49:09 +03:00
committed by Bjørn Erik Pedersen
parent 9b30e81b93
commit 85e50325c7
@@ -510,7 +510,7 @@ The rendering of the main navigation works as usual. `.Site.Menus` will just con
### Dynamically localizing menus with i18n
While customizing menus per language is useful, your config file can become hard to maintain if you have a lot of languages
If your menus are the same in all languages, and the only thing that changes is the actual translation, you can use the menu `.Identifier` as a translation key for the name of the the menu:
If your menus are the same in all languages (ie. if the only thing that changes is the translated name) you can use the `.Identifier` as a translation key for the menu name:
{{< code-toggle file="config" >}}
[[menu.main]]