localization
Returns the shop's localization settings. Use this query to build country and language selectors for your storefront.
The country and language fields reflect the active localized experience. To change the context, use the directive with your desired country or language code.
Anchor to Possible returnsPossible returns
- Localization (Localization!)
- Anchor to LocalizationLocalization•Localization!
Information about the shop's configured localized experiences, including available countries and languages. The
countryandlanguagefields reflect the active localization context, which you can change using thedirective on queries.Use
to list all countries with enabled localized experiences, andto get languages available for the currently active country. EachCountryincludes its own currency, unit system, and available languages.- Anchor to availableCountriesavailable•[Country!]!
Countries non-null The list of countries with enabled localized experiences.
- Anchor to availableLanguagesavailable•[Language!]!
Languages non-null The list of languages available for the active country.
- Anchor to countrycountry•Country!non-null
The country of the active localized experience. Use the
directive to change this value.- Anchor to languagelanguage•Language!non-null
The language of the active localized experience. Use the
directive to change this value.- Anchor to marketmarket•Market!non-nullDeprecated