- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2018 07:22 AM
To translate our service portal into French I have set the language of my profile to French and have been translating many parts successfully so that when I revert my language settings back to English the words also translate back. However, for this widget although I can translate the title of it I am not sure how to translate the text within it:
I have attempted to translate the contents (while my language settings are set to French) by pressing control and right-clicking on the widget and selecting the Widget in Editor option where I can translate the HTML like such:
This is fine when my language is set to French but as soon as I switch back to English I found that the text in my widget stays in French:
Is there some way that this text can be translated so that when I select the language of the user the text is in the correct language?
Any help would be greatly appreciated.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2018 07:58 AM
Hi,
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 as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2020 08:02 AM
Hi Thilo,
I need to do something like this.
Can you please help!
I need to populate different contents when the language changes. i have written a catalog client script where i have used : ( g_lang ) to determine the language used and added the contents for different languages. see image : ed1,2,3,4.
But, that doesn't work for me as it should not sure why. I need to display the contents in comments ( the last line : check image ed 5 ) when selected "Yes" backed value =1.
I have attached the screenshot for reference. eg: when selected plan production impacted as Yes it should populate the contents and same for all other languages as well. As of now only spanish works and other's don't. check image : ed5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2024 04:36 PM
No sabía que esta función era muy útil y me daba una mejor visión del portal del cliente, Gracias.👍
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2020 09:19 AM
Hello James,
Our portal is in English, French and German. I have to update the translated text on the portal every time we add or update something.
Going through translated fields, translated messages, translated text modules take forever.
I have found a very easy way to translate a widget instance 'Title', that doesn't require coding.
- Change your portal language to French.
- Go to the widget that needs the title translated.
- Open the widget instance in 'Page Editor'.
- Enter the French translation into the 'Title' of the Page Editor screen.
This same technique can be applied to changing text language on catalog items, record producers, etc.
- Change the language of your portal to whatever language you need to translate to.
- Go into the instance and open a catalog item.
- Update the name of the catalog item, variable names, annotation, etc. with the translated text.
- Return to the portal and verify the updates in that specific language.
- Change the portal language back to English. The forms will still be in English.
Hope this helps