Select a custom language field in Live Agent Dynamic Translation (Tokyo)

Yousuf Kamal
Kilo Guru

When user chats with Live Agent, OOB Language field is used to detect source language (User's language) and translate to target language (Agent's language).

 

We have a custom field on sys_user table which stores user's language preference. Can we use this field instead of OOB sys_user language field to dynamically translate with Live Agent?

 

preferred lang.PNGcustom preferred lang.PNG

1 ACCEPTED SOLUTION

Muralidharan BS
Mega Sage
Mega Sage

You can use that field, you have to activate this plugin - com.glide.cs.runtime_language_detection_translation

a new context variable will be created called - 

 

vaVars.global_requester_session_language

 

now, at the starting node may be greeting topic if you update like below then users can start with the proffered language

 

vaVars.global_requester_session_language = vaInputs.user.u_preferred_langugage;

 

 This is auto switch and start with pref language

Also refer this for more info - https://www.servicenow.com/community/virtual-agent-nlu-articles/real-time-language-switcher-in-virtu...

View solution in original post

1 REPLY 1

Muralidharan BS
Mega Sage
Mega Sage

You can use that field, you have to activate this plugin - com.glide.cs.runtime_language_detection_translation

a new context variable will be created called - 

 

vaVars.global_requester_session_language

 

now, at the starting node may be greeting topic if you update like below then users can start with the proffered language

 

vaVars.global_requester_session_language = vaInputs.user.u_preferred_langugage;

 

 This is auto switch and start with pref language

Also refer this for more info - https://www.servicenow.com/community/virtual-agent-nlu-articles/real-time-language-switcher-in-virtu...