Fix issue with relative URLs in locale=