Found during code adventures demo, can explore the idea of keeping URL lang param consistent with the source page language. For example, changing the URL param from 'en' to 'fr' loads the FR storylines config in an English Canada.ca template. Whereas changing the source page lang to French will reload the page and the FR config properly.
Proposed solution
When changing the router lang parameter, reload the entire app with the correct language Canada.ca template. If there is no template used, keep the current behavior.
Description
Found during code adventures demo, can explore the idea of keeping URL lang param consistent with the source page language. For example, changing the URL param from 'en' to 'fr' loads the FR storylines config in an English Canada.ca template. Whereas changing the source page lang to French will reload the page and the FR config properly.
Proposed solution
When changing the router lang parameter, reload the entire app with the correct language Canada.ca template. If there is no template used, keep the current behavior.