Setting default Saviynt application UI language for the users in Saviynt
Saviynt allows administrators to select a list of preferred languages as UI application languages for their end users, but the user needs to select it from User Menu => Languages => preferred languages and the default application UI language is always English, in case you need to set another language as default then this article helps you in achieving the same.
As an Administrator, you can set the list of preferred languages for users by navigating
Admin => Global Configurations => Preferences => Languages Supported
Use case or Requirement:
I want to set the default application UI language as Dutch for users who belong to the NL department and for all other users with English
Below are the steps to implement the above-said requirement.
Step 1: Include departmentname in the ImportUserJSON in the HR Connection
Make sure you have departmentname attribute value mapped in the ImportUserJSON in your HR Connection
Example: sample ImportUserJSON
"departmentname": "hr_departmentname_field~#~char"
Step 2: Update the MODIFYUSERDATAJSON in the HR Connection
Update the below JSON below in the MODIFYUSERDATAJSON of your HR connection.
Here nl is the language code for Dutch, and en is the language code for English.
MODIFYUSERDATAJSON:
{
"ADDITIONALTABLES": {},
"COMPUTEDCOLUMNS": [
"departmentname",
"locale"
],
"PREPROCESSQUERIES": [
"UPDATE NEWUSERDATA SET locale = case when (departmentname is not null and departmentname = 'NL') then 'nl' else 'en' end"
]
}
Comments
Post a Comment