How to set a popup message if user try to change language through User Menu > Preferences > Display

Balasai peela
Tera Contributor

Hi All,

 

We have installed  4 new languages in our ServiceNow instance and we have a requirement that if any user try to change language through User Menu > Preferences > Display > language and changed to any of these 4 languages need to display a message to the user. 

 

We have done the same for portal and user from and pop up message is working but if the user try to change through user menu > preferences need to set the message. Moreover, in which table User Menu > Preferences > Display> language are stored ?

 

For instance, new languages are finnish, russian etc..,

 

Does any one know how to achieve this, any help would be greatly appreaciated.

 

Thanks,

Bala

5 REPLIES 5

Slava Savitsky
Giga Sage

The selected language is stored in "user.language" user preference record. As to the possibility to display a message when the user selects a different language, I am not sure that is doable. Why do you need to display a message? What is the business case for that? Also, is a simple info message enough or does a user need to somehow interact with it?

Hi @Slava Savitsky 

 

Thankyou for the response.

 

We wanted to inform the users that the translations for the selected languages are not available. So we are trying to set an info message.

 

Regards,

Bala

 

I am not sure I understand your use case. What is the point in making languages selectable if the corresponding translations are unavailable?

Hi @Slava Savitsky ,

 

Actually, we have implemented these 4 new languages for Agent chat and for Agent chat translation we enabled dynamic translation. For catalogs, portal level translations it will be difficult for us to do at a time and need some more time. we will do translations for these new languages in future till then we need to inform users through an info message stating that the translation for these languages are not available.

 

Regards,

Bala