Display Custom LWC Components for Enhanced Web Chat in Your Translated Languages

To display Enhanced Web Chat custom LWC components in your translated languages, create a JSON file and upload it as a static resource in Salesforce. Alternatively, use deployment configuration data to access Enhanced Web Chat custom labels.

By default, Enhanced Web Chat’s custom LWC components can’t fetch translations for Salesforce custom labels. These Salesforce custom labels use site language to load translated labels. Our custom LWC components are rendered within the unique site generated for each Enhanced Chat deployment. Enhanced Chat loads the unique site in its default language, which prevents custom LWC components from fetching labels in any other language. Use the instructions in this topic to translate a custom LWC component into multiple languages.