Add a Language to Your LWR Site
- In the Settings panel in Experience Builder, select
Languages.
- In the Languages panel, click Edit Languages (1).
-
In the Edit site languages window, select the language from the Available Languages list, move
it to the Site Languages list, and save your changes. You
can add more than one language at a time. On enhanced LWR
sites, the available languages are limited to the languages
that are enabled in your Salesforce org.
-
To make the language available to your site visitors, select Activate and show in
the language selector (2) in the
Languages panel.
-
Optionally, set the fallback language for each language that you add (3).
On your published multilingual site, if any text isn’t translated into a visitor’s selected site language, the text appears in the fallback language. For example, if you add translations for French and French (Canadian) to your site, you can designate French as the fallback language for French (Canadian). If you don’t designate a fallback language, the fallback is your default site language.
Multilingual sites support only one level of fallback language. For example, if French (Canadian) falls back to French, then your site’s default language is the only fallback language allowed for French.
Experience Builder prevents you from creating fallback language loops. For example, if French is the fallback language for French (Canadian), then French (Canadian) isn’t available to select as the fallback language for French. Similarly, if the fallback language for French (Morocco) is French (Canadian), then French (Morocco) also is unavailable to select as the fallback language for French.
On enhanced LWR sites, any language that has a designated fallback language can’t itself be a fallback language. For example, if you designate French as the fallback language for French (Canadian), then French (Canadian) can’t be the fallback for any other language.
- Optionally, to determine how the language is listed in the language selector on your site, customize the label for the site language (4).
To rearrange the Site Languages list in the order that you want, use the grabber icon for a language (5). These changes also affect the order of languages in the language selectors in Experience Builder and on your site.
In Experience Builder, to view your site in another site language, use the language selector.
