Newer Version Available

This content describes an older version of this product. View Latest

Add a Language to Your LWR Site (Beta)

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

    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.

  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

To delete a site language, select Delete site language from the actions menu for the language in the Site Languages list on the Languages panel. You also can delete a site language in the Edit site languages window. Move the language from the Site Languages list to the Available Languages list, and save your change.

When you delete a site language, you also delete its translated content and listing in the language selectors in Experience Builder and on your site. To preserve the translated content, export the content before you delete the language.

When you delete a site language that’s designated as the fallback language for another translation on your site, the fallback for that translation switches to your default site language. You can change the fallback to a different site language.

Note