Shopify locale reverts to primary language before redirecting to app proxy page.

Shopify locale reverts to primary language before redirecting to app proxy page.

AvocadosLab
Shopify Partner
51 4 46

When you have multilingual store with say "fr" & "es" with "es" being your primary language and you are currently on "fr" language with URL "domain.com/fr". When you navigate to a page created through app proxy, shopify locale changes to primary language "es" instead of staying "fr".

This seems to be a bug in Shopify navigation as app proxy pages are dependent on "accept-language" request header which is reverting back to primary language "es" instead of staying "fr".


Because of this language reset, apps fail to show content in proper language. This reset happens before even hitting app so we can't do anything about it and we are solemnly acting based on what we receive in "accept-language" header.

 

Replies 0 (0)