Normalize lang param with page template #451
Labels
Canada.ca Template
Work in and around the Canada.ca/CDTS template
Priority: Low
This task can is low priority and can wait if high priority tasks exist
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.
The text was updated successfully, but these errors were encountered: