update locale and mirror code format