Newer Version Available
Set the Language
To customize the language for a deployment, including custom labels, set the parameter to a Salesforce supported language. For example, enter 'en' or 'en-US' for English. embedded_svc.settings.language = en_US
Important considerations for language translations:
- If there is no language set in your code snippet or if it’s invalid (due to an empty code string, wrong format, or language not supported), 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.