In my Kirby installation I have defined the following languages:
Standard/Primary Language: English (en)
Secondary Language: Deutsch (de)
The language settings (site > languages > en.php and de.php) look like this:
en.php:
‘default’ => true
‘url’ => ‘/en’
de.php:
‘default’ => false
‘url’ => ‘/de’
The english version of the website should be displayed at www.domain.com/en/
, the German version on the other hand at www.domain.com/de/
.
Despite these settings www.domain.com
is automatically redirected to
www.domain.com/de
(secondary language) and not, as intended, to www.domain.com/en
(primary language). DE is also listed before EN in the language menu.
Why? Any tips? Thanks