Add a Language to Your LWR Site

To offer your site in multiple languages, first add each language to the site from the Settings panel in Experience Builder. You can offer your site in up to 40 languages, including your default site language. Each language that you add appears in the language selector in Experience Builder for easy navigation between different translations of your site. To make the translations available to your site visitors, add the Language Selector component to your site.
  1. In the Settings panel in Experience Builder, select Languages.
    Languages page in Experience Builder Settings
  2. In the Languages panel, click Edit Languages (1).
  3. 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.

    Standard components in LWR sites offer limited support for right-to-left languages. For the best customer experience in these languages, use custom Lightning web components.

    Note

  4. To make the language available to your site visitors, select Activate and show in the language selector (2) in the Languages panel.

    Deselect this option until you’re ready to publish content in that language.

    Tip

  5. 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.

  6. 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.

Language selector icon in Experience Builder, showing its menu of languages