LPS-41995 We also need to set the locale to the themeDisplay so we generate the right layoutFriendlyURL considering the locale
LPS-41995 Use the locale we are going to switch and not the current locale of the page