dojo-based locale switcher