Pass locale information from Hydrogen storefront to checkout

Pass locale information from Hydrogen storefront to checkout

h5k
Shopify Partner
3 0 8

I am implementing a Storefront API via Hydrogen for a multilingual multi-country shop for which I implemented a language and country/region selector.

 

How can I pass the locale information to the checkout so that the checkout is displayed in the language and with the country/region info that the customer? I don't want the checkout to use its own logic to determine the locale because it could be different from the locale the user experienced in my store and I don't want the customer to select the locale twice. In case the answer is "use app XYZ", please elaborate how app XYZ solves this problem.

Reply 1 (1)

david_r2
Visitor
1 0 0

Hello @h5k ! Did you ever find a solution for this ?