Handle localized urls correctly.