Translation Issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 05:43 AM
Hi,
I'm having trouble translating a message inside a Business Rule. I used gs.getMessage() along with the sys_ui_message table to store the translations, but the message is still not being translated in french.
this is my BR:
Thankx!!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 08:17 AM
I tried your script :
but still no translation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 08:47 AM
you are running the script in the correct user's session whose language is France?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 08:51 AM
Yes !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2025 02:59 AM
Hi Ankur,
I noticed something strange with the Business Rule. When I manually force the language to French (lang = 'fr'), the translation works correctly. However, by default, it doesn't apply the expected translation.
It seems like the system is not picking up the correct language setting automatically. Do you have any idea why this might be happening?
Thanks in advance for your help!
Best regards,
BR:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2025 08:00 PM
Thank you for marking my response as helpful.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader