Static Translation on Catalog variables
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2024 09:54 PM
I have an email script to show the variables from the HR Case in the notification, there is also a requirement to show the translation for the variable labels. Below script doesn't work for translation. Even if I use "sys_translated" table to get the translation, not sure how to get the language of the recipient if there are multiple recipients. Please suggest any workaround.
var variables = current.variables.getElements();
for (var j = 0; j < variables.length; j++) {
var questionnew = variables[j].getQuestion();
template.print(questionnew.getLabel() +':' + questionnew.getDisplayValue());
}
0 REPLIES 0