Dynamic Translation - Strip HTML
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-05-2025 03:23 PM
I've implemented Dynamic Language Translation in our lower instances and working through UAT. One thing that was discovered was that strings containing HTML (emailing in to a record) was sent to Azure and preserved through the translation. This resulted in a user clicking 'translate' and seeing the translation in their language, but with HTML tags.
Unfortunately ServiceNow stated this was behaving accurately, though it makes no sense. The solution was to customize the Translate Text action in the Microsoft Azure Translator Service Spoke app.
Unfortunately this has a 'read only' protection policy so I copied it and was able to successfully strip the HTML (after many failed attempt at using the transform function). I had to apply the fix in the returned payload in step 3, in the script field.
The problem now is I cannot find where this action is being called. I know there is the translate button next to any field that has the Dynamic Translation attribute set to true or with the 'Translate' link in the work notes, but can't find where it's calling the global.translate_text on the back end so I can change it to the custom action.
Any thoughts would be greatly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2025 08:13 PM
Hi @David_Casper ,
The translation will work based on the sub flow right, why can't you update the action in that subflow?
Thanks,
Yaswanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2025 09:12 AM
It has a protection policy on it so I'm only able to view. As I mentioned I created a copy of the action, but I can't find where that action or subflow is being called.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2025 09:19 PM
Hi @David_Casper ,
Navigate to Dynamic Translation > Properties and turn off enable html translation and validate.
Mark this as helpful and correct if this resolves your issue.
Thanks,
yaswanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-24-2025 07:18 AM
Oddly enough this seems to have addressed it. Only issue now is trying to find out what app/plugin contains that settings. I only see it in our lowest enviroment.