- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2022 10:27 PM
Whenever the user logged into service portal and navigated to profile section and tries to change the language preference from English to Spanish . Then on refresh of the page , all the widgets , placeholders , items , categories should get translated form English to Spanish
Solved! Go to Solution.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2022 10:58 PM
Hi Surya,
Translation of content in Service Portal Widgets works best using the message functionality. This is also available when editing the HTML in the widget editor. Just put your text into the HTML like in the example below (english, if the base system language).
<div class="panel-body">
<p>${Some french text}</p>
<p>${Some more french text}</p>
</div>
When a user looks at the widget with another language selected, the system looks for a matching translation in the messages table in your instance.
See here for more on the sys_ui_messages table:
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2022 10:58 PM
Hi Surya,
Translation of content in Service Portal Widgets works best using the message functionality. This is also available when editing the HTML in the widget editor. Just put your text into the HTML like in the example below (english, if the base system language).
<div class="panel-body">
<p>${Some french text}</p>
<p>${Some more french text}</p>
</div>
When a user looks at the widget with another language selected, the system looks for a matching translation in the messages table in your instance.
See here for more on the sys_ui_messages table:
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2022 11:15 PM
Hi Surya,
Glad to see my answer helped you, Kindly mark the answer as Correct & Helpful both such that others can get help.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2025 01:18 PM
@Community Alums I wanted to let you know that the docs you added led me to help complete translations for my platform. Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2025 06:29 PM
Glad to see i could hep you @opurpura 😉