added user setting to set_locale