Przejdź do głównej zawartości

Localization

Localization context for the storefront

type Localization {
availableCountries: [Country!]!
availableLanguages: [Language!]!
country: Country!
language: Language!
}

Fields

Localization.availableCountries ● [Country!]! non-null object

Countries the shop delivers to (from active shipping zones) — the same list as shop.shipsToCountries.

Localization.availableLanguages ● [Language!]! non-null object

All supported shop languages

Localization.country ● Country! non-null object

The customer current country: from @inContext, then geolocation, then the shop default country. ZZ (with the shop currency) when none is known.

Localization.language ● Language! non-null object

The customer current language (from Accept-Language or @inContext)

Returned By

localization query