Iβm setting up a multilingual website right now. There are two languages: English and German. Now I want to localize my permalinks. For example: /about/
in EN should be /de/ueber-mich/
in DE. In the documentation I read the following:
To localize URLs:
So I added slug: ueber-mich
to my /de/about.md
file. Inside my theme I used {{ "about" | relLangURL }}
then to link to the correct page. For the english version it is working correctly (of course). In the german version the link goes to β/de/about/β and when I click it, itβs a 404.
My expectation was that Hugo will set the link to /de/ueber-mich/
. Can someone tells me how to solve that problem?