GitHub

ShopifyLocalization

interface

import { ShopifyLocalization } from '@daffodil/driver/shopify'

Information about the localized experiences configured for the shop.

interface ShopifyLocalization {
  __typename: "Localization"
  availableCountries: ShopifyCountry[]
  availableLanguages: ShopifyLanguage[]
  country: ShopifyCountry
  language: ShopifyLanguage
  market: ShopifyMarket
}

Properties

__typename
"Localization"
availableCountries
ShopifyCountry[]

The list of countries with enabled localized experiences.

availableLanguages
ShopifyLanguage[]

The list of languages available for the active country.

country
ShopifyCountry

The country of the active localized experience. Use the @inContext directive to change this value.

language
ShopifyLanguage

The language of the active localized experience. Use the @inContext directive to change this value.

market
ShopifyMarket

The market including the country of the active localized experience. Use the @inContext directive to change this value.