How to enable language picker on service portal header?

Santosh Kallim1
Giga Contributor

Can anyone guide me How to enable language picker on service portal header?

l

1 ACCEPTED SOLUTION

have you enabled all the language plugins ?

 

plugin name start with i18n for respective languages 

 

If my answer helped you, kindly mark it as correct and helpful.

 

View solution in original post

13 REPLIES 13

Himanshu Dubey
Giga Guru

Hi

Please refer below link it might help you

https://community.servicenow.com/community?id=community_blog&sys_id=566e22eddbd0dbc01dcaf3231f961917


Mark Correct if my answer solves your issue and also mark 👍 Helpful if you find my response worthy.

Thanks & Regards

Himanshu Dubey

Santosh Kallim1
Giga Contributor

Both I have seen, both are related to widget on portal but looking for portal header, through scriptable list or etc,

 

Please suggest 

if you want on header then you can call that widget over the stock header widget, but you have to clone the stock header widget and then it will appear over the header. 

 

eg:

 

 

find_real_file.png

 

Steps: 

 

Go to Portal >> you will see Theme field >> Open it and then you will see "Header" field , clone the stock header widget>> then in cloned widget add below line in server side script.

 

data.lang = $sp.getWidget('sp-lang-switch');

 

in html side 

 

<sp-widget widget="data.lang"/>

 

Note: you have to add the css to make it look better . 

 

If my answer helped you, kindly mark it as correct and helpful.