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

larstange
Mega Sage

Hi



I logged a ticket regarding this, and it turns out, that the translation of titles and descriptions is done via System Localzation -> Translated Names / Fields.


So you don't have to create new widgets to do this


find_real_file.png


larstange
Mega Sage

Other translations are placed in the Translated Text table



find_real_file.png


Hallo Tange,



Thanks for the Information and update.



Regards,


Boniface


Hello Lars,


Could you please give more details about this translation way. I have a similar case.


In an instance, let's call it How can we help, there is a title and a subtitle. Title is How can we help you, and the subtitle is Contact the support team. In translated text, the title is successfully translated, as you made but to do the same for the subtitle, it doesn't work. did you have the same configuration?



Thanks



Regards


larstange
Mega Sage

Hi



The easiest way is to click the "Enable I18N Debugging" function. The you get prefixes all all strings and you cann see which translation table you have to use.



http://wiki.servicenow.com/index.php?title=Translating_New_Customizations#Displaying_Translation_Pre...