Language change for products on checkout

sDobrzan
New Member
1 0 0

Hello,

I have question regarding getting correct product's language on checkout.  I'm using Storefront API translation header - Accept-Language (https://shopify.dev/api/examples/i18n-app-translations) to get product's content in language I want (I've prepared translations for English and Italian). Right now some of queries work very well (ie getting product by handle), when I pass 'en' I get English content , the same applies to Italian but all of Checkout queries seem to not count this header and they return Italian language which is default one. 

Does anybody know why on checkout queries translating doesn't work, maybe I should use another approach here?

Thanks!

Replies 0 (0)