Skip to main content

localization

Information about the countries and languages that are available on a store.

The localization object can be used in a localization form.

To learn about how to offer localization options in your theme, refer to Support multiple currencies and languages.

Properties

Anchor to
available_countries
array of country

The countries that are available on the store.

Anchor to
available_languages
array of shop_locale

The languages that are available on the store.

The currently selected country on the storefront.

The currently selected language on the storefront.

The currently selected market on the storefront.

{
"available_countries": [],
"available_languages": [],
"country": {},
"language": {},
"market": {}
}
Was this section helpful?