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
Uh oh!
There was an error while loading. Please reload this page.
-
I have a multilingual site, for now only in English and Russian. The main
mkdocs.ymlin the root directory says:I have created two new subfolders inside
docs:enandru. I have moved all files indocstoenand I'm now translating all contents to create target-language equivalents underru.After doing that, I had to update the
navsection, 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
ruinstead ofenin all paths).Since the navigation menu must also be translatable, I have tried adding the
navsection in amkdocs.ymlfile inside bothenandrufolders, but it doesn't seem to work.Any advice is most welcome.
Beta Was this translation helpful? Give feedback.
All reactions