Navigation menu in multilingual site #7004
Unanswered
msoutopico
asked this question in
Q&A
Replies: 1 comment 5 replies
-
I think a more summarized version of the question is how I can move the
while building the site from the root directory that contains all subfolders. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a multilingual site, for now only in English and Russian. The main
mkdocs.yml
in the root directory says:I have created two new subfolders inside
docs
:en
andru
. I have moved all files indocs
toen
and I'm now translating all contents to create target-language equivalents underru
.After doing that, I had to update the
nav
section, so that all paths to files start withen
:The navigation menu English version looks now as before, but the Russian version doesn't have one, see https://capstanlqc.github.io/omegat-guides/ru/translation/.
I was expecting that the navigation menu would be reproduced in all languages, with the theme replacing the language tag (e.g. using
ru
instead ofen
in all paths).Since the navigation menu must also be translatable, I have tried adding the
nav
section in amkdocs.yml
file inside bothen
andru
folders, but it doesn't seem to work.Any advice is most welcome.
Beta Was this translation helpful? Give feedback.
All reactions