I’m trying to build a multilingual blog and I’m having problems with it (for context: I’m using even theme).
Firstly, every link in the menu and the logo switches the language to default. E.g. if I’m at $BASE_URL/ru
(Russian home page) and I click “About” I go to $BASE_URL/about
and not $BASE_URL/ru/about
. I guess that’s expected considering the config:
even_menu = [
# ...
{url = "$BASE_URL/about", name = "About"},
]
But I don’t know what to use instead of $BASE_URL
to include language.
Secondly, it doesn’t seem there is a way to switch between languages, besides editing the URL by hand. Is it something that theme should do? Are there themes that allow this? Or should I somehow extend them?