I made a multilingual website with French by default and English as secondary language. I set the generic config.php with languages.detect as stated by the documentation but it doesn’t work (tested by friends with English browers, by me with a language switcher Firefox add-on, with deleted cookies and private mode.
The documentation on this point just say to add this option so I don’t really now how to test it further or knowing if I did the good thing.
<?php var_dump(option('language.detect')) ?> returns bool(true), so I assume it’s ok, but I don’t know why it’s not working.
<?= $kirby->detectedLanguage() ?> returns fr when the browser is in french, en when the browser is in english, and fr if the language is not english (don’t know why it doesn’t detect the real language though, maybe it only detect the applied/available language).
So the option seems to work, but not the redirecton / auto switch, and I can’t figure out why, and don’t know how to test it further.