Shopify themes, liquid, logos, and UX
This is the only thing remaining to finish translation. I want to control the image of my homepage when I switch language. I'm using "Translate My Store" app, and I have entered all my translation manually. I can't find the good way or the best practice to change my image based on the language (my image contains integrated designed text).
Hello, @DirkEDiggler
Welcome to the Shopify community!
and Thanks for your Good question.
Please share your site URL,
So I will check and provide a solution here.
https://shop.chaoscopia.com/ (french default)
https://shop.chaoscopia.com/en (english, I'm currently integrating translations)
Hello, @DirkEDiggler
It can be done by doing some code customization. Please take the help of a developer and hire Shopify Expert or me
Thank you. First I wanted to know if I needed to go in code : which is perfect but I didn't want to try it first.
The way I see this is the add an "if condition" in hero.liquid and insert a new asset for the english translated picture. I'm using the debut theme and I'm new to liquid but I watch some tutorial. I just need to be put on the right track...
Great do you have able to code so can you please try this way
https://www.w3schools.com/cssref/sel_lang.asp
This way is not the solution I want to get into : it is dependent on the browser locale setting. Once you are on the English version of my Shopify shop, you stay all the way in english no matter what.
YEs, i know that but if you need this some add custom code
@DirkEDiggler I see you managed to do find a way to do it! I'm trying to achieve the same thing, can you point me to how to managed to fix it? Thx!
Hi Dirk,
you can also translate your homepage images in Langify without using the "Custom" feature in
Langify -> Theme -> Section
For example, if you want to translate an image called "banner.webp" you'd just have to upload the translated image to Shopify, let's name it "banner-fr.webp", and prepend it with shopify://shop_images/ like this:
shopify://shop_images/banner-fr.webp
In case you need any help with this please send us an email **Edited by Community Moderator**
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024