<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00007Mmw5BCAROkta Classic EngineLifecycle ManagementAnswered2024-04-16T11:25:52.000Z2022-01-05T09:37:20.000Z2022-01-07T12:11:38.000Z

a25nf (a25nf) asked a question.

Set the language of the user based on his country

Hi,

 

On the user's creation, is there a way to set the property "locale" of the user to a specific value based on his country?

I was thinking about doing it through the workflows.

 

Thank you in advance


  • Hello @a25nf (a25nf)​ 

     

    Thanks for posting.

     

    The User's API documentation should provide additional insight into things:

     

     

    https://developer.okta.com/docs/api/resources/users

     

     

    The only way to change the language via API is by changing the "locale" attribute.

     

    There is no way to change the displayed language by API.

     

    There is an already posted Idea for this feature.

     

    We do have some information available regarding prioritizing of languages in general:

     

     

    https://help.okta.com/en/prod/Content/Topics/Settings/display-language.htm - this does indicate that the user's Display Language is prioritized over the "locale" attribute.

     

     

    End users can select from a list of supported languages to customize their own Okta experience. The end users see the Okta user interface in their selected language after they are fully authenticated into Okta. All Okta-generated emails sent to these end users are localized in their selected language.

     

    How to change your display language as an end user:

     

    1. Go to Okta End-user Dashboard > <username> > Settings > Display Language.
    2. Click Edit.
    3. Select a language from the dropdown.
    4. Click Save.

    .

     

    For New end users (not activated) — The Welcome email that Okta sends to new end users is localized in the language in users' locale property (if specified) instead of the display language configured for your org (if different).

     

     

     

    Let us know if this helps you.

     

     

    Daniela Chavarria.

    Okta Inc.

    Expand Post
This question is closed.
Loading
Set the language of the user based on his country