Loading...
Area: Optimizely Commerce
Applies to versions: 14 and higher
Other versions:

Globalization

Recommended reading 

This topic describes globalization in Optimizely Commerce, by which you can

  • create and display website content in different languages
  • display the user interface in different languages through the localization of user-facing texts

Globalization in Commerce

When describing the language concept in Optimizely, the following language setting types are mentioned:

  • System language. Controls date/time formatting, sort order, and so on.
  • User interface language. Controls the localized (translated) resources to display; determines the user interface language.
  • Content language. The preferred language when displaying content. Content can be a page, a block, or a product catalog item.

Conceptually, globalization in Commerce works the same way as in CMS. To learn about language management in Optimizely, see Globalization.

By default, the Optimizely Commerce user interface is available in a number of languages. You can localize it further with additional languages.

Commerce user interface

You localize the Commerce pluggable add-on user interface using the Optimizely localization services in the same way that the CMS does. See also Localization service.

Order data

Note: This feature applies to Commerce version 13.21 and higher.

By default, the localization of order data is enabled. If you do not use order data localization, you can disable it. Disabled order data localization saves storage and improves performance by reducing read/write operations.

To disable order data localization, set the OrderOptions DisableOrderDataLocalization to true in appsettings.json or inside ConfigureServices method of Startup.cs.

//appsettings.json
{
"Commerce":{
    "OrderOptions":{
        "DisableOrderDataLocalization": true
        }
    }
}
//Startup.cs
public void ConfigureServices(IServiceCollection services)
{
    services.Configure<OrderOptions>(o =>
    {
        o.DisableOrderDataLocalization = true;
    });
}
Do you find this information helpful? Please log in to provide feedback.

Last updated: Sep 28, 2021

Recommended reading