Redirect based on cookie value (e.g. from storage extension)
This is an open discussion with 2 replies, filed under General.
Search
Hey Moritz - if you're doing "multilanguage the right way" you're probably using the "flang_redirection"-extension which should have the desired behavior baked right in... at least as far as I remember all pages I've built with that method behaved just the way you described it.
And if you're looking for some other ideas how to handle this scenario - I recently implemented exactly this feature in the "other way" of building multilingual websites!
Hello Roman, I obviously did it only half way the right way: I had overseen the excistence of flang_redirection. Thanks or your hint! I installed it and it worked right away.
Your advancement of the language redirection extension looks promising!
Create an account or sign in to comment.
Has anyone implemented a language redirect based on a cookie? I would like to store the last used language in a cookie and when the user opens the homepage without a language parameter, the right language version should be delivered: calling https://plattform-luzern.ch would open https://plattform-luzern.ch/de or/fr
I'm doing multilanguage following the post multilanguage the right way and I use the storage extension for saving user specific information.
Thank you for sharing you ideas!