I know it seems like this question was asked many times before, but I just wasn’t able to solve it. Any help would be much appreciated.
Here’s the multi-language website structure I want to achieve:
de_DE: mydomain.de
en_US: mydomain.de/en
languages.detect
is set to false
in config – I don’t need it and it doesn’t seemed to work anyways.
My /language
files look like this as they are described in the documentation:
en.php:
<?php
return [
'code' => 'en',
'default' => false,
'direction' => 'ltr',
'locale' => 'en_US',
'name' => 'English',
'url' => 'en'
];
de.php
<?php
return [
'code' => 'de',
'default' => true,
'direction' => 'ltr',
'locale' => [
'de_DE'
],
'name' => 'Deutsch',
'url' => null
];
The result is:
/
→ shows just nothing/de
→ German website/en
→ English website
What am I holding wrong here? I’m on the latest version 3.9.6.1.