Locale switcher fix when no route exists in the selected locale