- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2017 02:18 AM
Changing field type to Translated text immediately solved the problem (same code!), and retained the HTML formatting too. Feels like there's a bug with the Translated HTML field type that is doesn't show translations properly.
I feel like this is good enough, even though it would be easier to administer the Translated HTML field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2017 07:39 AM
Hi Miriam!
I am looking for same thing - could you please tell me where you changed the field type to Translated Text?
IA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2017 12:50 AM
Hi Anita,
A simpler way to translate the HTML would be to user ServiceNow's built-in message functionality.
In many places in ServiceNow you show a translated message by using dollar curly brackets ${ your text here }. So instead of trying to translate text in the HTML option (which doesn't work because it is stored in a JSON field) you wrap your text in dollar curly brackets, and translate it through System Localization > Messages.
For example, if you have a very simple HTML code today, that you entered in your "HTML" widget instance:
<p>Welcome</p>
<p>Add your comment</p>
You would translate it by using the same widget instance and just change the code to:
<p>${Welcome}</p>
<p>${Add your comment}</p>
And then make sure there are translations in System Localization > Messages for each separate message:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2017 01:26 AM
Thank you Miriam! that worked brilliantly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2018 09:01 AM
Hi ,
Could you please inform me where to find the local message in system localization :
Ex message in fr : bla bla bla I do'nt arrive to reach it in the Back end
Thanks