update locale for dialog