Locale Fallback

Salesforce B2C Commerce provides you with a locale fallback mechanism to meet your site's multi-locale requirements. By default, the country locale (for example, en_US) inherits data from the respective language locale (en), and the language locale (en) inherits from the locale default. You can configure locale inheritance.

You can configure a locale to skip a locale in its fallback chain, or to not have any fallback. For example, en_US falls back to en and then to default. You can configure en_US to fallback directly to default or you can configure en_US to not have any fallback.

Note: The application server uses the locale fallback that you configure only when looking up localizable attributes or properties of objects of subclasses of PersistentObject, such as Product. The application server does not consider the fallback locale when locating ISML templates, web forms, resource files in cartridges, or static content such as images.

If a locale is configured as the fallback for another locale, you can't delete it: an error message appears.

For example:

Disabling Locale Fallback

You can disable the fallback behavior for each locale.

For example:

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.