How can i translate the widget title and description in service portal

ochiengboniface
Giga Contributor

Hallo SN,

I am setting up a service portal that is going to be multilingual. I came across this discussion(https://community.servicenow.com/thread/237668) which did help in translating words i used in the HTML code.

My question is it possible/ how do i translate the widget titles and description ?

1 ACCEPTED SOLUTION

larstange
Mega Sage

Hi Boniface



I have looked at it, at ServiceNow have not implemeted the widgets in such a way, that they translate the title.



I my case I have created my own version of most of the widgets anyway, so I can enable translation of the title by adding the following line to the server script



//Translate the title


options.title = gs.getMessage(options.title);



You might consider reporting this as a bug in HI


View solution in original post

11 REPLIES 11

Hello,



Thank your for your feedback, and it is very helphful.


Unfortunately, it doesn't work for what I'm looking for as the text is embedded in the "Additional options, JSON format" under the instance How can I help you. So when I enabled the debugging function,   there is no prefix.



Regards,


larstange
Mega Sage

If there is no prefix, then it is not translatable