- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2022 05:53 AM
Hi Team,
I enabled i18N plugin and the text I want to translate is shown as TRT (Translated Text) and I provided the translated value in the translated text table, but the value is not getting translated. In the widget it is given as {{::options.title}}
How can this dynamic value be translated?
Regards,
Sheeja
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2022 11:51 AM - edited 11-24-2022 11:54 AM
With portal widgets you can simply translate by switching to appropriate language.
1) go to widget options - Ctrl+Right click on widget
2) then from hamburger menu choose Open in platform
3) at the bottom of the page on the tab Presentation you can find Title which you can edit for language you are currently switched to.
4) to edit it in another language simply switch Service now to desired language and edit this field.
Note that Title field if of type translated_text.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2022 06:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2022 06:23 AM
@sheejajose try this
in the below screenshot you can observe the line no 4 in server script you need to change to
gs.getMessage($sp.getValue("title"));
Hope this helps
If it works mark the answer correct
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2022 11:51 AM - edited 11-24-2022 11:54 AM
With portal widgets you can simply translate by switching to appropriate language.
1) go to widget options - Ctrl+Right click on widget
2) then from hamburger menu choose Open in platform
3) at the bottom of the page on the tab Presentation you can find Title which you can edit for language you are currently switched to.
4) to edit it in another language simply switch Service now to desired language and edit this field.
Note that Title field if of type translated_text.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2022 01:55 AM
Thank you @Marek Vitek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2024 08:40 AM
Thank you so much. I wish ServiceNow will make this a bit easier in the future 🙂