The /content folder is upgraded for kirby3 like 1_ … folder names and the language files and /site/languages are code translated for kirby 3 but if I want to use different URLs by language…it does not work. The debug mode shows also no errors…
I have multipe config files for every domain so there is a config.www.example.com.php file and a config.www.example.de.php files with configurations…(have used that in kirby2)…
Have included
‘language.detect’ => true,
‘languages’ => true
but won’t work
I do not want a automatically language detection…a user have to switch manually to it’s language if he visit my frontend.
I tested this with Mamp in a fresh K3 Starterkit with two domains and had the same issue with the non-default domain rerouting to the default domain. Might be a bug after all.
protected function setLocale(string $locale = null): self
…
TypeError
Argument 1 passed to Kirby\Cms\Language::setLocale() must be of the type string or null, array given, called in /Applications/MAMP/htdocs/kirbyCMS3/kirby/src/Toolkit/Properties.php on line 82
…
It seams so that arrays are not supported here under kirby3. But why it is documented above? So it can also be a bug, here. So perhaps, can you try it out please? Or otherwise, let me know how I can fix that issue…
Indeed - V3.3.0 runs perfect now, we have published this version now on our productive server. Seems to work everything very well now. Thanks a lot for fixing the bug. Cheers, Thorsten