How to get language field from the login page?

ganesh2310_kuma
Giga Contributor

Hi guys,

Here i want to add language field with drop down after username and password from the login page.

find_real_file.png

Could anyone please help me in this issue.

Thanks,

Anil

1 ACCEPTED SOLUTION

Here is a more detailed description of the above steps, Ganesh:




  • Navigate to System Definition > Plugins -> locate the plugin called: "I18N: Internationalization"(com.glide.i18n) and activate it;
  • Once it is activated the system property called: "glide.ui.language.select" will appear in the UI Properties of your ServiceNow instance. If you navigate to System Properties > UI Properties -> you will see the following property there: "Show the language select box on the login page to allow the user to specify the language they would like to be logged in with.". If you hover over your mouse on it, you will see "glide.ui.language.select". This is because both are the same property;
  • For example: let's imagine that the users of your ServiceNow Platform would like to be able to choice between two languages on login: English and German. We know that the English is default, so now we need to ensure that the German will be presented as an option. To do so, we need to navigate to System Definition > Plugins -> locate the one called: "I18N:German Translations"(com.snc.i18n.german), and activate it.
    You may do the same with the respective plugins which you require on your instance as languages.

Now, if we log out of the ServiceNow instance we will be able to see the language picker box presented on login. Refer to the below screenshot, taken from my DEV SNOW Instance:
find_real_file.png

NOTE: if the checkbox of the "
Show the language select box on the login page to allow the user to specify the language they would like to be logged in with." property is set to Yes (checked) by default (with the activation of the "


I18N:Internationalization" Plugin & and yet you DON'T see the language box on the login page —> then this means that you have a custom application installed on your instance (via update set), which was created on an instance with this option activated.
In order to deal with this issue you need to perform the following steps:
1. Navigate to System Properties > UI Properties -> and set the checkbox to No on the "


Show the language select box on the login page to allow the user to specify the language they would like to be logged in with." property;
2. Navigate to System Properties > System Localization -> there you will find the same property -> set it to Yes;
Now, if you log out of the ServiceNow instance — you will see that the language box will be presented as required and the issue will be gone!

For useful information in regards to the language — options of ServiceNow you may refer to the below articles:
- Language Internationalization - http://wiki.servicenow.com/index.php?title=Language_Internationalization#User-Specific_Language&gsc....;
- Managing the language selection on an instance - https://community.servicenow.com/community/blogs/blog/2014/10/29/adding-local-language-options-to-yo...;




Best Regards,
Georgi Mavrodiev



IT Consultant


Do IT Wise



You may visit us in our Web Site: www.doitwise.com


View solution in original post

6 REPLIES 6

Anurag Tripathi
Mega Patron
Mega Patron

Hi Anil,



You need to make sure that the some language plugins are enabled and then you can set this property in the system to achieve this



glide.ui.login.language.select



find_real_file.png


-Anurag

georgimavrodiev
Mega Guru

Hello Ganesh,





First you need to active the Plugin called "I18N: Internationalization".
Once it is activated a system property will come with it. The property will be called "glide.ui.language.select"
You will need to activate a language plugin, for example: German or Spain, or whatever you want. Then to navigate to the System Properties and activate the glide.ui.language.select one.
Once this is done, log out of the instance of yours.
The language picker checkbox will be presented there.




Best Regards,
Georgi Mavrodiev



IT Consultant
Do IT Wise



You may visit us in our Web Site: www.doitwise.com


Here is a more detailed description of the above steps, Ganesh:




  • Navigate to System Definition > Plugins -> locate the plugin called: "I18N: Internationalization"(com.glide.i18n) and activate it;
  • Once it is activated the system property called: "glide.ui.language.select" will appear in the UI Properties of your ServiceNow instance. If you navigate to System Properties > UI Properties -> you will see the following property there: "Show the language select box on the login page to allow the user to specify the language they would like to be logged in with.". If you hover over your mouse on it, you will see "glide.ui.language.select". This is because both are the same property;
  • For example: let's imagine that the users of your ServiceNow Platform would like to be able to choice between two languages on login: English and German. We know that the English is default, so now we need to ensure that the German will be presented as an option. To do so, we need to navigate to System Definition > Plugins -> locate the one called: "I18N:German Translations"(com.snc.i18n.german), and activate it.
    You may do the same with the respective plugins which you require on your instance as languages.

Now, if we log out of the ServiceNow instance we will be able to see the language picker box presented on login. Refer to the below screenshot, taken from my DEV SNOW Instance:
find_real_file.png

NOTE: if the checkbox of the "
Show the language select box on the login page to allow the user to specify the language they would like to be logged in with." property is set to Yes (checked) by default (with the activation of the "


I18N:Internationalization" Plugin & and yet you DON'T see the language box on the login page —> then this means that you have a custom application installed on your instance (via update set), which was created on an instance with this option activated.
In order to deal with this issue you need to perform the following steps:
1. Navigate to System Properties > UI Properties -> and set the checkbox to No on the "


Show the language select box on the login page to allow the user to specify the language they would like to be logged in with." property;
2. Navigate to System Properties > System Localization -> there you will find the same property -> set it to Yes;
Now, if you log out of the ServiceNow instance — you will see that the language box will be presented as required and the issue will be gone!

For useful information in regards to the language — options of ServiceNow you may refer to the below articles:
- Language Internationalization - http://wiki.servicenow.com/index.php?title=Language_Internationalization#User-Specific_Language&gsc....;
- Managing the language selection on an instance - https://community.servicenow.com/community/blogs/blog/2014/10/29/adding-local-language-options-to-yo...;




Best Regards,
Georgi Mavrodiev



IT Consultant


Do IT Wise



You may visit us in our Web Site: www.doitwise.com


Hi Marvo,



Thanks for the information,



when I check with this navigation


System Properties > UI Properties -> you will see the following property there: "Show the language select box on the login page to allow the user to specify the language they would like to be logged in with.". If you hover over your mouse on it, you will see "glide.ui.language.select". This is because both are the same property;



I got the below properties from the screenshot.


find_real_file.png



Could you please suggest me where I will get your "glide.ui.language.select".



Thanks,


Anil