VA greeting message is not translating

Drishti
Tera Guru

Hi Community,

 

Good Day!

I have created a custom greeting message. When I change my laguage to any other language , then translation is not working.
I already have defined in UI message.

Screenshot attached for reference

Please guide where I am going wrong. 

1 ACCEPTED SOLUTION

Drishti
Tera Guru

This is for those who will come here for seeking solution or for future me 🙂

 

"gs.getMessageLang("hi there {0}", vaContext.getRequesterLang(), [vaInputs.first_name]);""

View solution in original post

5 REPLIES 5

Ravi Chandra_K
Kilo Patron
Kilo Patron

Hello @Drishti 

can you please cross check the translation you have created in sys_ui_message?

The text should be exactly same.

 

try clearing the cache if it is non prod and check once.

 

Please mark the answer as helpful and correct if helped.

Kind Regards,

Ravi Chandra 

Hi @Ravi Chandra_K 
Thanks for replying.

There was syntax error in my code.
It should be "

return gs.getMessageLang("hi there {0}", vaContext.getRequesterLang(), [vaInputs.first_name]);"

Harish Murikina
Tera Guru

Hi @Drishti 

Please follow the steps

conversational interfaces ---> Settings (Please click here it will redirect to different page) --->(Please select) Virtual Agent ---> Custom greetings and setup (click View All) --- > click "Default chat experience" --> Click on "Setup Topics" tab -- > verify which Topic is attached to your greetings 

if you have OOB greeting Topic , please create custom copy of this topic and modify the topic and display translated messages gs.getMessage

HarishMurikina_0-1732107760168.png



HarishMurikina_1-1732107830408.png

 

HarishMurikina_2-1732107874824.png

 

HarishMurikina_3-1732107960547.png

 

Hi @Harish Murikina 
Thanks for replying.

There was syntax error .
It should be "

return gs.getMessageLang("hi there {0}", vaContext.getRequesterLang(), [vaInputs.first_name]);"