AnsweredAssumed Answered

Dynamic Languages on One Page: Redirect too Fast

Question asked by 7020055df87595187ad4ea2314637f1c4e47476d on Jan 31, 2018
Latest reply on Jan 31, 2018 by Sanford Whiteman

I'm looking for instructions on handling a Dynamic Language Preference landing page that includes dynamic preference forms, which redirect to a Dynamic Confirmation page. The Content is dynamic based on language segment with the default set to English.


Use Case: Initial landing page is set in English with a English form, once the new Language is selected, it redirects to the confirmation page, which should be returning the new dynamic language copy based on the first page's selection.

Issue: Redirect happens faster than the system has time to log the segment change, if you hit refresh after the redirect on the confirm page the language does update, but not fast enough.

Solution: Is there javascript that I can put on the landing page (and not affect other's used by the same template) that will allow the redirect to refresh, or delay enough time in order for the confirmation page to return the right language?