Ch.8, p.229, SwitchLocale component