LPS-42709 We need to use the locale we are switching to (using the language portlet) to construct the right friendly url.