You can easily translate navigation items or override the whole navigation per language.
mkdocs-static-i18n plugin takes care of selecting the right file for you so you never have to use their localized name!
Just use your page expected names (
index.fr.md) as you would on a single language site.
Translating navigation items
This sub-option is a key/value mapping set per language as allows you to override the title of any navigation item when a matching title exists on the default language.
This example will translate the
Topic2 section titles to
Sujet2 in the French version of the site.
Overriding the navigation per language
This sub-option allows to override the whole
nav configuration option of your
mkdocs.yml per language. This allows to have a completely separate navigation per language!
This example overrides the navigation of the French version of the site. Mind the fact that we do not need to localize the path or file names!