---
title: "Configure the language set for catalog item indexing"
slug: "configure-the-language-set-for-catalog-item-indexing"
abstract: "How to configure the language set that contains the languages to index for catalog item search."
---
# Configure the language set for catalog item indexing

You must index a language set to enable catalog item search in multiple languages on your storefront and in the Business Tools. When you trigger a full [rebuild of Sitecore master and web indexes](https://doc.sitecore.com/xp/en/developers/103/sitecore-experience-commerce/manually-rebuild-sitecore-xp-indexes.html "Manually rebuild Sitecore XP indexes") to index catalog items, or when [incremental indexing](https://doc.sitecore.com/xp/en/developers/103/sitecore-experience-commerce/incremental-index-updates.html "Incremental index updates") occurs, the index crawler uses the default shop name (*storefront*) that is specified as the `<defaultShopName>` property value in the `Sitecore.Commerce.Engine.Connect.config` file. In the Content Editor, the `<defaultShopName>` property corresponds to a *storefront* item under */sitecore/Commerce/Commerce Control Panel/Storefront Settings/Storefronts/*. Since the Commerce Engine Connect data provider only interacts with the storefront specified as the `<defaultShopName>`, catalog items are indexed in the languages included in the [language set](https://doc.sitecore.com/xp/en/developers/103/sitecore-experience-commerce/add-a-language-version-to-an-existing-storefront-site.html "Add a language version to an existing storefront site") assigned to the storefront configured as the `<defaultShopName>`.

The indexed language set also drives the languages that are available in the Business Tools language selector.

> [!note]
> For optimized indexing performance and to minimize the size of the catalog item indexes, it is best practice to remove any unnecessary languages from the indexed language set.

To configure the language set for catalog item indexing:

1. Open the `www\<Sitecore>\App_Config\Include\Y.Commerce.Engine\CustomCommerce\Custom.Commerce.Engine.Connect.config` patch file (or your own patch file), and make sure that the patched `<defaultShopName>` value matches the name of your storefront, for example:

    ```text
    <defaultShopName patch:instead="defaultShopNam">YOUR_STOREFRONT_NAME</defaultShopName>
    ```

    > [!note]
    > When you deploy the sample SXA storefront, the deployment uses the `defaultShopName` value specified in in the default `Sitecore.Commerce.Engine.Connect.config` file. To use a custom `defaultShopName` value, you must patch the configuration in the `Custom.Commerce.Engine.Connect.config` patch file.

2. From the Sitecore Launchpad, in the Content Editor, go to */sitecore/Commerce/Commerce Control Panel/Storefront Settings/Storefronts/CommerceEngineDefaultStorefront/Language Configuration* and, in the drop-down list, click the language set to index.

    > [!note]
    > You can [add or remove languages](https://doc.sitecore.com/xp/en/developers/103/sitecore-experience-commerce/add-a-language-version-to-an-existing-storefront-site.html "Add a language version to an existing storefront site") from the language set configuration as needed under */sitecore/Commerce/Commerce Control Panel/Shared Settings/Language Sets/*.

3. If you made changes to the Commerce Engine configuration, [bootstrap](https://doc.sitecore.com/xp/en/developers/103/sitecore-experience-commerce/bootstrap-the-commerce-engine.html "Bootstrap the Commerce Engine") the engine.
4. If you made changes to the Commerce control panel in the Sitecore Content Editor, [synchronize Sitecore content items](https://doc.sitecore.com/xp/en/developers/103/sitecore-experience-commerce/synchronize-content-items.html "Synchronize content items") with the data in the Commerce Engine database.