How can I change the language of the buy button in a multilingual store?

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! :blush:
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.

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”,
});