Multi-language Checkout Page and Email Notifications Storefront API

Selecto
New Member
3 0 0

Hi,

We have a multi-language store that has Storefront API implemented in it. We pass on the right customer language with the 'Accept-Language' in the header, but one the customer is redirected to Shopify the language is still English. We have both languages enabled in the Shopify Settings. Any help on how to make this work? 

Thanks a lot!

0 Likes
_JB
Shopify Staff
Shopify Staff
750 87 165

Hey @Selecto,

Just to clarify, you're saying the checkout is only rendering in English, correct? According to our guide for using translations with the storefront API, you can append a locale param to the checkout URL to force it to render in a different language. However based on the wording of that doc I would expect the accept-language header to be enough, so I'd like to investigate that further. Can you kindly provide a few example checkout tokens/checkout ids?

JB | Developer Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

0 Likes