update the settings to support locale