- 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 05:56 AM
Hello @sheejajose ,
can you tell me the widget name that you are trying to use?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2022 06:03 AM
Hello,
Translated text means you need to enter sys id of record which I don't think is correct, if this is there in widget code then you can use getMessage() function and add entry in sys_ui_message table.
Regards,
Musab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2022 06:18 AM
@Musab Rasheed {{::options.title}} is in html code so getMessage() will not work is there any alternative to use in html?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2022 11:12 AM
In the HTML, you can use ${} to translate text.
If you try to do ${{{::options.title}}} does that work?