Localizing Templates

When developing your storefront application, there are two approaches to localizing templates:

The advantage of the first approach is that templates (which can hold complex logic to visualize dynamic data) don't need to be modified as the storefront is localized. Also, the display logic exists in a single place (the non-language specific template) only. The externalized strings are stored in a simple file format that can be passed to translation service providers. The translation can be integrated back into Salesforce B2C Commerce simply by copying the translated file into the cartridge, without potentially breaking the logic.

Related Links