xarup
December 21, 2021, 8:36pm
1
Hi,
does anyone know how to fix the following issue:
I have 2 languages in my shopify store.
The buy button is created in the main language.
When a customer switch to the second language the buy button
still shows the main language.
I´ve installed the langify app but I can´t find the section for the
buy button to translate it.
Thank you!
1 Like
@xarup
Sorry you are facing this issue, it would be my pleasure to help you.
Welcome to the Shopify community!
Thanks for your good question.
Please share your site URL,
I will check out the issue and provide you a solution here.
Hi, I have exactly the same problem, can you share the solution? Thank you in advance.
xarup
September 12, 2022, 9:18am
4
sorry, there was no solution
Actually, there is a solution for switching language. You can pass a language prop to the buildClient method. In the example I am setting the language to Swedish. However, this only changes the language and not market. I am currently looking for a solution to change market
window.ShopifyBuy.buildClient({
domain: “DOMAIN”,
storefrontAccessToken: “ACCESS_TOKEN”,
language: “sv”,
});