Add a language version to a storefront site

Abstract

How to add or remove a language version to an existing storefront site.

By default, the storefront site language is English. If your storefront site supports multiple languages, there are several things you need to do to add a new language to the site.

To add a language version to a storefront site:

  1. Add the new language to the Sitecore system settings (/sitecore/System/Languages).

  2. In the content tree, go to /sitecore/Commerce/Commerce Control Panel/Shared Settings/Language Sets and select the set used by the storefront site.

  3. In the Languages section, double-click the new language to move it to the Selected list, add it to Commerce Control Panel, and save your changes.

    Note

    Language sets can be shared between storefronts so make sure you are not adding a language to other storefronts as well unless this is intended. To use different languages on different storefront sites, you must create distinct language sets, and assign the appropriate language set to each storefront based on the language requirements of each site.

    Commerce Control Panel - Languages

    Warning

    As soon as the Commerce Control Panel settings are published, the new language is available from the language selector on the storefront.

  4. In the Content Editor, go to /sitecore/Commerce/Commerce Control Panel/Storefront Settings/Storefronts/<site>/Language Configuration and configure the storefront to use the language set with the new language.

  5. When a storefront site is created, it only has items with an English language version so you must add a language version to the content of the storefront site to support the new language.

    Each version of a Sitecore item can have its own translated text. For smaller sites, you can enter translated text on the Content tab. For more extensive translations, you can export the language to an XML file using the Localization settings in the Control Panel.

Warning

Any changes or additions that you make to the site have to be replicated in each language version. For example, if you add a component to the English version of a page, no change is made automatically to the other versions of the page - you must add the component to each version. Default translations are included with the component, but if you make changes to the English text, you must translate the changes.