You are here:
Launch a Multi-Language LWC Omniscript (Managed Package)
For the managed package runtime, set the language a multi-language LWC Omniscript renders in by using a language code parameter in a URL.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
LWC and Angular Omniscripts use different URL patterns to render multi-language Omniscripts.
Before You Begin
Define translations for custom labels and enable multi-language Omniscript.
- From the Omniscript, click How to launch activated script. The HOW TO LAUNCH modal displays.
- Copy the URL you want to use to launch your script.
- Determine which language code to use in Salesforce. See Supported Languages
-
Edit the URL to add the c__LanguageCode parameter and set
the parameter equal to the Salesforce language code.
https://exampleURL.force.com/AccountCommunity/s/AccountPage?c__target=c:docLWCTestEnglish&c__layout=lightning&c__LanguageCode=esResume saved Omniscripts in other languages by using a different language code parameter.
