Default locale attributs value

Hi, I do not see how default value for locale attribute of Okta profile can bee set.
Even if in user profile data, locale attribute is empty, when we use Okta expressions it seems that user locale = en_US by default.
Did you know how to fixe it ? is null
user.preferred_language is null too

1 Like

Yes, defaulting to en_US is confusing, as the profile editor shows the attribute as empty (as does LDAP interface etc).

Furthermore, in the documentation this attribute is marked as nullable, however when writing in Expression Language the expression user.locale == "" will never evaluate as True as the attribute defaults to “en_US”.