Redirect error with multilanguage setting

I djust upgraded my Kirby installation from 2.2.3 to 2.3.2 an get a redirect error, When I removed the language setting in the config.php it works but without content.
my settings are:

c::set('languages', array(
  array(
    'code'    => 'de',
    'name'    => 'deutsch',
    'default' => true,
    'locale'  => 'de_DE',
    'url'     => '/',
  ),array(
    'code'    => 'en',
    'name'    => 'english',
    'locale'  => 'en_US',
    'url'     => '/en',
  ),
));

I can’t find the mistake,
any idea somebody?
thanks for help.

What kind of redirect error?

Die Seite takikiometzis.de funktioniert nicht

takikiometzis.de hat Sie zu oft weitergeleitet.
Löschen Sie Ihre Cookies.
ERR_TOO_MANY_REDIRECTS

the site is in the subfolder /kirby

takikiometzis.de/kirby
but is also not working localy with no subfoldersetting in config and htaccess
taki:8888

Thank you. That’s interesting, I haven’t seen this. I will look into this.

If you need more information …

Shame on me :flushed:,
I found the mistake. It was a missing language code in

home/ home.de.txt

It seems to be no problem for earlier versions.

It’s still interesting that this resulted in a redirect problem …

Yes, especially home.de.txt is never used!?
It’s kind of onepager with no home information.

Yes, it seems like that has been introduced in Kirby 2.3.

Actually content files without language codes are not intended to work as stated in the docs (see “Attention! Switching from single-language to multi-language”), but we will try to fix this in Kirby 2.4 anyway.

1 Like