We are using “Buy buttons” to post sales of different items into blog posts. The blog is available in English and French. On our website we are using the “Translate my store” app.
Is there some way, either through an app or modifying the “buy button” code to get the products and text translated into French?
It is possible for me to modify some of the text to show the French. In the code below I’ve added “-FR” to buttons and labels that I could supply the French translations for.
However, I don’t know how to access the products and some of the text to get the translations for them.
I understand Shopify doesn’t currently support Buy buttons in other languages. Has anyone found a solution for this?
...
"buttonDestination": "modal",
"contents": {
"options": false
},
"text": {
"button": "View product-FR"
}
},
"productSet": {
"styles": {
"products": {
"@media (min-width: 601px)": {
"margin-left": "-20px"
}
}
}
},
"modalProduct": {
"contents": {
"img": false,
"imgWithCarousel": true,
"button": false,
"buttonWithQuantity": true
},
"styles": {
"product": {
"@media (min-width: 601px)": {
"max-width": "100%",
"margin-left": "0px",
"margin-bottom": "0px"
}
}
},
"text": {
"button": "Add to cart-FR"
}
},
"option": {},
"cart": {
"text": {
"total": "Subtotal-FR",
"button": "Checkout-FR"
},
"contents": {
"note": true
},
"popup": false
},
"toggle": {}
},
...
Note: This question has been asked before, but there was no response:
Thanks!