Get root URL to other languages

Hi,

I would like to render a multi-language switch by basically adding links to the root URL of the other language translations. Is there an easy way to do that?

So for example a menu with two entries for [de, en] with links to www.myurl.de and www.myurl.en.

Thx in advance for your feedback.

{{ .Site.Home.AllTranslations }}

1 Like

Thx @bep for the fast response. Did not found this information on the docs, but might have overlooked it.

You didn’t, it’s not there – I will add a section about it.

1 Like