Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

How to change global variable g_lang

coolsaurabh
Tera Contributor

How to change global variable g_lang

Thanks,

Saurabh

2 REPLIES 2

Ct111
Tera Sage

Do you mean how to change default Global language ,

 

if yes then go to System Definition -->System Localization-- And enter two character for changing it to other languages like

it - italian

de - dutch

 

For more information refer below link

https://docs.servicenow.com/bundle/jakarta-platform-administration/page/administer/localization/refe...

 

Mark my ANSWER as CORRECT and HELPFUL if it works.

Prithviraj Howa
Kilo Expert

Hi coolsaurabh,

Here's a global variable called "g_lang" that you can use.   The value would be "en" for English.

 

 e.g. alert(g_lang) will display "en" in an alert dialog.

 

Global Language

Before selecting a new default language, activate the plugin for the desired language in System Definition > Plugins.

The languages list You will find at below link:

https://docs.servicenow.com/bundle/london-platform-administration/page/administer/localization/task/...

The default global language for the system is set in System Properties > System Localization. This property defines the language that users see if a language is not specified in their user record.

please go through the below link:

http://wiki.servicenow.com/index.php?title=Language_Internationalization#Language_Picker_in_the_Head...

 

If you find that answer is specific then mark it as Helpful or Correct.

 

Warm Regards

Prithviraj Howal

SNOW Developer