Multi language checkout?

Chompas
Tourist
12 0 9

Hi,

 

I'm currently managing my own store in my website so I'm only using the checkout functionality from Shopify. The website supports 3 different languages and I'm wondering how I can accomplish this with the checkout. I've read this link https://help.shopify.com/en/manual/checkout-settings/checkout-language on how to change the checkout language and the three languages I need are support but that just changes it from one to another.

 

How can I have different languages for the same checkout? To add more context this is for Belgium, a country that has more than one language as official. I can control which link to open from my website so I wonder if there's any additional parameter I can send for each language to force different ones.

 

Really looking forward to solve this issue.

 

Thanks.

Replies 11 (11)
Veronika_R
Tourist
5 0 2

I'd recommend you LangShop. It's my favorite app - translates automatically into different languages AND it's possible to change currency there. I see you don't need currency variation but other features will be very handy for you I believe. 

doughnut-hole
New Member
1 0 1

 

const handleCheckout = () => {
    const checkoutJA = `${checkout.webUrl}&locale=ja`
    const checkoutEN = `${checkout.webUrl}&locale=en`

    //switch checkout language based on locale
    const checkoutUrl = intl.locale === "ja" ? checkoutJA : checkoutEN
    window.open(checkoutUrl)
}

 

(This is the reply to a previous question about how to redirect checkout URL based on locales).

You can simply add language parameter at the end of checkout URL.

In my case, I'm using react-intl to switch languages on my website (which is created with GatsbyJS by the way), so checkout URL can be switched based on intl locales like above.

As shopify buy button doesn't support language redirection officially, this is the simplest solution I've ever found out so far.

Cheers!