Prevent locale auto detection, if a translated path is entered without the locale prefix #1873
Closed
DevAtHeart
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Lets say I have my pathnames like this:
I also have
localePrefix.modeset toneverin the routing config.Now, if a user enters
<domain>/pfadbut the browser is set to 'en' as default, it will redirect to<domain>/pathinstead of automatically setting the locale cookie to 'de' and staying on<domain>/pfadIs there a way to configure this behaviour or is anything speaking against adding a configuration flag for this?
Thanks so much in advance!
EDIT:
Found 'localeDetection' setting. 🙈
Beta Was this translation helpful? Give feedback.
All reactions