Sitecore Experience Commerce

Commerce terms and localization

System messages returned from the Commerce Engine and XC Business tool terms (for example, view properties, view actions, benefit names, and so on) are keyed and stored in the Sitecore Experience Platform, for localization.

You can define system messages or Business tool terms, and the values for different available languages, directly in the Content Editor, at the following locations:

  • sitecore/Commerce/Commerce Engine Settings/ Commerce Terms/Business Tools

  • sitecore/Commerce/Commerce Engine Settings/ Commerce Terms/ System Messages

The following table describes the pipelines that pertain to Commerce terms:

Pipeline

Description

ILocalizableTermPipeline

Returns a commerce term by path or CommerceTermKey in the current or specified language.

ILocalizableTermsPipeline

Returns multiple commerce terms by path or the parent CommerceTermKey in the current or specified language.

IGetLocalizableMessagePipeline

Returns a system message by CommerceTermKey in the current language.

The following policies govern localization:

Policy

Description

LocalizedMessagesPolicy

Defines localization settings:

  • AllowCaching - the default is true

  • MaxMessageSize - the default is 1024

LocalizedTermsCachePolicy

Defines the cache settings for localized terms:

  • AllowCaching - the default is true

  • Expiration - the default is 300000 ms (5 minutes)

  • CacheName - the default is "LocalizedTerms"