Logged in user's language

dabraham
Kilo Explorer

How can we check logged in user's language using client script?

6 REPLIES 6

andrew_venables
ServiceNow Employee
ServiceNow Employee

I agree with Bhavesh and Richard in that assuming what you really want is the user's session language and not the value from the user table or elsewhere.



The link Bhavesh posted to GlideUser (g user) - ServiceNow Wiki actually uses session language as an example so you can use a combination of Server-side (maybe a display BR) and client-side to get the data. g_scratchpad is also another option for passing to the client.


dabraham
Kilo Explorer

Hi,



Thank you very much for your replies.


It helped.