Solved

How to fix translation issue for 'Add to cart' button in Shopify?

amrhassan
Shopify Partner
26 1 0

Hello, I have a store made in the default language Arabic, and I have added all the English translations with Shopify Translate & adapt, however, the "Add to cart" button on the product page stays in Arabic when switching languages. 

I located its location in Shopify Translate & adapt and translated it, but it doesn't work.

Can anyone please help me with how I can sort it out and translate this button as the rest of the store?

Thank you!

Store link: 

AR: https://royalbbqglobal.com

EN: https://royalbbqglobal.com/en

Note: I removed the language switcher until i fix the issue.

Accepted Solution (1)

richbrown_staff
Shopify Staff
638 91 155

This is an accepted solution.

Hi @amrhassan , we've fixed this for you. It's an issue with your theme, but the changes have been made in line 158 of your theme.liquid and line 226 of global.js.liquid. You should see it's now working on the storefront. 

To learn more visit the Shopify Help Center or the Community Blog.

View solution in original post

Replies 4 (4)

richbrown_staff
Shopify Staff
638 91 155

This is an accepted solution.

Hi @amrhassan , we've fixed this for you. It's an issue with your theme, but the changes have been made in line 158 of your theme.liquid and line 226 of global.js.liquid. You should see it's now working on the storefront. 

To learn more visit the Shopify Help Center or the Community Blog.

amrhassan
Shopify Partner
26 1 0

Thank you so much! I really appreciate your effort. It’s fixed.

If it’s okay i have 2 other issues that i have been searching for a lot if you can help me with i would be so grateful.

1- The cart drawer in English version shows the products in Arabic, it should appear according to the language selected. (check screenshot)

IMG_8393.png

2- The Language switcher in the mobile version is missing in the side menu. Most customers use mobile rather than desktop.

Thank you so much!!

richbrown_staff
Shopify Staff
638 91 155

Hey @amrhassan , no problem. For those two you'll have to speak to your theme developers I'm afraid - as it's not one of the free Shopify themes we're limited in the support we can provide. But they are theme issues you're seeing. 

To learn more visit the Shopify Help Center or the Community Blog.

amrhassan
Shopify Partner
26 1 0

The theme developers are not responding and i couldn't reach them out.

Anyways thank you for your help! 🙂