add locale switching ability