Speak the Language: Customize and Translate Labels for Chat Visitors

You can customize and translate button labels, messages, and errors in your Snap-ins Chat deployment. Change your mind on a label? No problem. You don’t need to get a new code snippet each time you update a label, and your deployment can support multiple languages. Just specify the language you want in your code snippet to translate the snap-ins experience for that language. This change applies to Lightning Experience only.

Customize your labels in Setup | User Interface | Rename Tabs and Labels (or in Classic Setup, go to Customize | Tab Names and Labels | Rename Tabs and Labels).

To set a language for your deployment, add the following parameter to your code snippet. By default, the language is set to English.embedded_svc.settings.language = "en-US"

You also need to take care of some other settings to make sure translation works properly. See Localization and Translation for Snap-ins Chat in the Salesforce Help.

Note

Note

We don’t support an underscore format for languages (like en_US). Use http locale format (like en-US or en).