Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Set the Language
To customize the language for a deployment, including custom labels, set
the parameter to a Salesforce supported language. This parameter is empty and must be set in
your Embedded Service code snippet for chat.
For example, enter 'en' or 'en-US' for English.
embedded_svc.settings.language = en_US
Important considerations for language translations:
- If no language is set in the code snippet or is invalid (empty code string, wrong format, or unsupported), the Site Guest User language for the site associated with your Embedded Service deployment is used.
- When Translation Workbench is disabled, the language set for the Site Guest User of the Site associated with your Embedded Service deployment is used.
- The language on a label is set only with the embedded_svc.settings.language parameter or the Site Guest User language, and not the chat button.