Notification translation to English
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2023 06:53 AM
I have translation issues with a script.
My company portail/session is in french so everything that is being printed from variables is being printed in french.
I created a script for my Request notification which work perfectly it translate everything in english (scriptRequest in attached files)
I created the same thing for the Incident notification (scriptIncident)
both script has
var lang = 'en';
gs.getSession().setLanguage(lang); // sets the session language to English
and
var label = gs.getMessage(question.getLabel(), 'en'); // Explicitly set language to English
for some reason the incident version print out french instead of the requested translation to english.
for some reason the incident version print out french instead of the requested translation to english.
0 REPLIES 0