Store Locales
In this guide, you'll learn about locales defined in the Store Module.
Note: While the Store Module allows you to manage the locales for your store, the actual locale data and translations are managed by the Translation Module.
Supported Locales#
The Store Module has a StoreLocale data model that represents the locales supported by your store. It has a locale_code property that follows the IETF BCP 47 standard. For example, en-US represents American English, while fr-FR represents French (France).
StoreLocale belongs to the Store data model, which has a supported_locales property that lists all the locales available in your store.
For example, if your store supports English (United States) and French (France), you'll have two StoreLocale records with the locale codes en-US and fr-FR.

Was this page helpful?