Virtual agent greeting translation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2022 09:11 AM
Hi,
I have written below code for Greetings in my VA setup topic. It is working fine normally but when translated it not working as expected.
I have used multiple message keys here, bottom gs.getMessage("Hi , im your.......) translation is working fine but the highlighted key (Welcome back........) is not getting translated.
Please help me understand where I went wrong.
Thanks in advance.
- Labels:
-
Virtual Agent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2022 11:10 AM
Hi there, the below link might help. You might have to put the text you want returned to the user into the UI Messages and use 'vaContext.getRequesterLang()'
https://community.servicenow.com/community?id=community_question&sys_id=502a9f35dbe69c1466f1d9d9689619a3

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2022 09:24 PM
Hi there,
Can you share actual screenshots? What you are sharing now looks a bit weird, also the getMessage contains a spelling error, or might that actually be the issue 🙂
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP
---
LinkedIn
Community article list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2022 05:56 AM
Siri,
I think you might have a typo in your message call, there appears to be no space between "can" and "i", it's written as "cani" in your key. Without knowing more details I suspect it's not matching your key due to the typo 🙂
Many thanks,
Kind regards
Director of Globalization Deployment, Internationalization