I never used Craft before and I'm trying to create a multi-language site (in headless mode) but am running into problems with adding the language to the URL.
My goal is to have URLs that always start with the language, e.g. /en/page
and /de/seite
. I started by adding that prefix to the base URL of each language site which works fine for querying URLs but not for URIs. I could manually prepend the language to each link but that seems wrong...
What is the recommended way of adding such a language prefix?
- Adding the prefix to each language site (manually adding the prefix to each link)
- Adding the prefix to every section (manually adding the prefix for each section).