This is based on feedback from @pmclanahan It basically ensures that the locale is added to the URL.