Multiple Language Support
The integration of HCL Commerce and HCL Digital Experience includes support for HCL Digital Experience content in multiple languages using the standard HCL Digital Experience pattern where a content library is defined and can have additional content libraries in other languages that are linked together via the ML Configuration support.
Editors can create content in a library in a default primary language which should match the default language of the HCL Commerce store that uses this library. Editors can then link or copy and edit this content into the other libraries to represent the translated versions of the same content.
For HCL Commerce and HCL Digital Experience integration, HCL Digital Experience contains the primary library (English). The 'Commerce Marketing Content' represents all Marketing Spot Content in the EmeraldPlus and SapphirePlus stores and a sample 'Commerce Marketing Library (es_ES)' with dummy content.
When associating HCL Digital Experience content from Management Center, the Marketing Manager can search for and select content from the default primary language library. HCL Commerce treats all HCL Digital Experience content as multi-lingual content and assumes that all other languages for the content are available to use in the storefront. When content is used in theReact Store, the Content ID (in primary language) is returned for the content within an eSpot. The React Recommend Content component first determines the language for the store and sends a request for content in that language. If translated content is available, the Unique ID of the translated content is returned.
HCL Digital Experience supports language fallback scenarios and returns the corresponding Content ID based on the configured fallback for the request language and primary language Content ID. If no content is returned (or any error response), the Recommend Content retrieves and displays the original content in the primary language.