Agent Chat. How to modify and translate a welcome message?

Elena7
Tera Expert

Hello,

 

I need to modify and translate a welcome agent chat message.

When the user is connected to Service Portal in French and he opens the agent chat conversation this text must be modified for our company's needs and it must be in French: 

 

Elena7_0-1688368131741.png

I created 2 records in the sys_ui_message table for english and for french languages. I put the key in the Conversational integration interface's window, but it doesn't work. Does anyone know how to do it?

Elena7_1-1688368390176.png

 

 

Thank you in advance,

Best regards,

Elena

 

1 ACCEPTED SOLUTION

It is actually Translated Text, I18N debugging is showing that. Investigating a bit more, I found that the place to be is the sys_cs_live_agent_setup table. There you can easily change the value of the transfer_message field (which is of type Translated Text).

 

1.png

 

Tested, works.

 

Kind regards,
Mark

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

7 REPLIES 7

Ravi Chandra_K
Kilo Patron
Kilo Patron

Hello @Elena7 

Greetings!

you can try cache.do command in the filter to clear the cache. the system doesn't load all translation immediately most of the times.

if that doesn't work, enable the language debugging and see which translation table that message belongs to (most likely in sys_ui_message only but you can cross verify once). 

 

Help others to find a correct solution by marking the appropriate response as correct answer and helpful!!

 

Regards,

Ravi Chandra

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

I think it should indeed be a UI Message, though have no setup at this moment to test it.

I do wonder though, you did mention that you added these yourself? They should already be out-of-the-box available. In my case for Dutch, though same principle:

 

1.png

What you could also do, I18N debugging, to double check if its indeed UI Message or something else.

- 2021-05-18 - Blog - Q: Help!!! (How) can I translate this? A: Have you had a look at I18N Debugging?

 

Kind regards,
Mark

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Mark Roethof
Tera Patron
Tera Patron

So I just enabled I18N debugging, this shows that it might not be UI Message actually:

 

2.png

Translated Text.

 

You could add that manually, or set this text in English, save, switch language, update the text in your language, save.

 

Kind regards,
Mark

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

I tried to do it. It didn't work.😔

 

I also can't understand how I can show a welcome message in the chat. I hided "Show me everything" button by adding this code to my Service Portal Agent Chat Configuration:

 

(function($sp) {
    return {
        live_agent_queue: $sp.getDisplayValue('sp_chat_queue'),
        skip_load_history: true,
        topic: 'ce2ee85053130010cf8cddeeff7b12bf', // sys_id of the live agent support topic,
    };
})($sp);

 

 I don't have a "Show me everything" button, but I don't have a welcome message neither. How to show a welcome message in the beginning of the chat. For now I only have an Agent Transfer Message or No agent available" message

Do you know how to do it?