How to translate the tooltips information?

jeff_xing
Giga Contributor

Hello guys,

I need add the description part for my insert picture, so I insert the info into the tooltips, when I hover the picture it can show the info, but I don't know how to translate the info into other languages. I tried in the System Localization part, they all seem not work, could anyone pls give me a hand? any advices? Much appreciate the help!

Below is the place I want to translate, the "sometimes" in   the box.

find_real_file.png

4 REPLIES 4

fschuster
ServiceNow Employee
ServiceNow Employee

Hi Zhifei,



I'm afraid there is no method to do so, at least not that I know of.


You would need to be able to wrap the "Sometimes" string into something like <img alt="${gs.getMessage('My translatable alt message')}". However I highly doubt that this will work in this part of the platform - you can give it a try though.



Maybe you could somehow embed your translation into the HTML via JEXL/Jelly but I'm not sure if that is a) worth the effort and b) a good solution from a maintenance perspective.



Frank


Hi Frank,


Thank you for your reply. I just find the ServiceNow KB: The tooltips of the Calgary Catalog Search Widget are not translated (KB0535417) , not sure whether our instance fixed it now. I will try your method. Thank you again!


fschuster
ServiceNow Employee
ServiceNow Employee

That's good to know. Thanks for doing the research


VaranAwesomenow
Mega Sage

Hi,


Did you try sys_ui_message table ?



Thanks


Anil