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-27-2025 10:52 AM
@YaswanthKurre Can you confirm where that setting comes from? I have SNOW support looking into it as I'm experiencing inconsistencies.
I thought I narrowed it down to being in Yokohama patch 3, but it's in my lowest environment on the backend and in the UI. Our next enviroment it's on the backend, but not in the UI and our UAT it's no where.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-27-2025 12:03 PM
Hi @David_Casper ,
Make sure you repair your dynamic translation plugin, and Property name: com.glide.cs.dynamic.translation.enable.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2025 09:25 PM
without some screenshots it's very difficult to help.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader