function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Mah NaazMah Naaz 

How to write a code to translate any language for Live Agent.

Hi, 
Need help to write a code to translate language on the Live agent (Chat) window. 
We are implementing chat where the requirement is if customers are typing in their local language, it should translate it into English for Agent. 
I appreciate in advance your help!
Best Answer chosen by Mah Naaz
SwethaSwetha (Salesforce Developers) 
HI Mah,
I would strongly recommend looking into the app exchange first like Unbabel and LanguageIO.
https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000EFom8UAD
https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000EmvHGUAZ
https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000EJHWOUA5

There’s a pilot product on Salesforce (Einstein Language Translation (https://developer.salesforce.com/blogs/2019/06/get-buildspiration-with-einstein-apex-ai-tools.html)) that could be used to build a custom develop a solution against. 

Custom code requires a lot more than just a code snippet but also writing a custom chat UI. Check out Conversation Toolkit API in the console as well as the Chat (Live Agent) API.
https://developer.salesforce.com/docs/component-library/bundle/lightning:conversationToolkitAPI/documentation
 
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you

All Answers

SwethaSwetha (Salesforce Developers) 
HI Mah, Does this article help
https://www.crmscience.com/single-post/2017/04/19/Support-Multiple-Languages-in-Salesforcecom-Live-Agent-Part-2
Thanks
Mah NaazMah Naaz
Hello Swetha, Thank you for your response. The information you shared it is helpful but not in my case. We have only English writing/speaking agents, and customers are from Global. The requirement is if customers are chatting in their local language, it should translate in English for agents. I appreciate your help if you guide in this matter. Thanks, Mah Get Outlook for iOS
SwethaSwetha (Salesforce Developers) 
HI Mah,
I would strongly recommend looking into the app exchange first like Unbabel and LanguageIO.
https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000EFom8UAD
https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000EmvHGUAZ
https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000EJHWOUA5

There’s a pilot product on Salesforce (Einstein Language Translation (https://developer.salesforce.com/blogs/2019/06/get-buildspiration-with-einstein-apex-ai-tools.html)) that could be used to build a custom develop a solution against. 

Custom code requires a lot more than just a code snippet but also writing a custom chat UI. Check out Conversation Toolkit API in the console as well as the Chat (Live Agent) API.
https://developer.salesforce.com/docs/component-library/bundle/lightning:conversationToolkitAPI/documentation
 
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you
This was selected as the best answer