Custom greeting in virtual agent is not getting translated
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2024 11:33 AM
Hi Team
It's urgent!
i have created a custom greeting which is not getting translated.
Please find below script for refrence
(function execute() {
if (!vaVars.user_loggedin) {
//User is Not LoggedIn
var agentSupport = [];
agentSupport.push(gs.getMessageLang("welcome to POINT support chat. You can contact:\n \n - IT support in your local language or in English (24/7).Machine translations are used for local languages.\n \n - Finance support (weekdays 9-15 EET).\n \n - Construction equipment support (weekdays 8-15 EET)",
vaContext.getRequesterLang(), [gs.getMessageLang('Show me everything', vaContext.getRequesterLang())]));
vaSystem.sendTopicPickerControl(agentSupport.join(' '));
}
else {
//User is LoggedIn
var greetingMessages = [];
greetingMessages.push(gs.getMessageLang('welcome to POINT support chat. You can contact: ',
'- IT support in your local language or in English (24/7). Machine translations are used for local languages.',
'- Finance support (weekdays 9-15 EET)',
'- Construction equipment support (weekdays 8-15 EET)',vaContext.getRequesterLang()));
// greetingMessages.push()
greetingMessages.push(vaSystem.getTopicSelectionMessage());
vaSystem.sendTopicPickerControl(greetingMessages.join(''));
}
})()
0 REPLIES 0