Missing dropdown menu / button for multiple languages (language switch) #i18n

Hello there,

it seems I have some problemes to make my site support i18n and multiple languages.
I am using the latest version of hugo (v0.135), to generate my site.
My blog is divided into blog and content …

Please consider the next post (reply) too, because I was limited regarding link count…

Please do a
git clone https: // GitHub - wehrend/hugo_blog blog,
followed by a
cd blog and
git clone https: // GitHub - wehrend/hugo_content: blog content content to copy my setup,

I am using the theme hugo-books from alex shpak…

After generating the html sites, I do not get the language switcher block located on my site - where is it?

I have successfully tested the multilanguage example from here ( GitHub - rayjolt/hugo-multilingual-example: An example of how to make a multilingual site with Hugo.) with the hugo book theme

There’s no language switcher block the theme, neither the repo you tested with has something like that…

In fact there’s nothing like “THE language switcher” that depends on all the layouts, config … of site and theme. guess you won’t find a plug and play thing to use

The Theme does not support the functionality you need - time to dig in the documentation and coding…

to have a language switcher you will have to adjust the menu for each page to show a link to the translated page.

start here:

Let me show you, what I am missing. It is the following html / code snippet :

how can I replicate this in my local environment?

Would I need this:

?

This does not work as described

  • there is no blog folder after the first clone
  • looks like the second clone should go into content?

whatever

The site needs some more setup you should describe: Ruby, Asciidoc …

I just have to correct myself - ther’s a language switcher within the hugo-book theme:

For me it looks like your config and/or your site organization (folders/files/config…) does not match the way the Hugo-Book theme is expecting things.

I would recommend to take their exampleSite and get it up and running. Study their docs and the exampleSite content organization.

Then try to step by step integrate your content …

here’s a bare running example site setup for the Hugo-Book theme:

git clone https://github.com/alex-shpak/hugo-book
cd hugo-book/exampleSite
hugo server --themesDir ../..

Thanks, that sounds more suitable and I will check out the example site as suggested, maybe even add an issue to the hugo book themes project…

I’ve set up the given example and could run it working including the rtl feature.
But so far I am able to build it from scratch in my personal project.
And I have no clue , where it goes wrong…

Add One content page only then a translation…