Comment puis-je afficher des produits et ou collection avec des visuels qui contiennent soit du texte en français ou en anglais et les disociés afin que sur le site selon la langue sélectionner soit français ou anglais apparaisse juste les visuels selon la langue choisi et non apparaissant dans les deux langues. Je ne parle pas du système Translate puisque mes textes sont directement sur les images/visuels, donc Translate n’est pas adéquat pour ce type de situation. Je précise j’utilise le thème Dawn.
Hi @BigTrees
Since the text is embedded directly in your images, Translate & Adapt won’t be able to switch them automatically.
If you’re using the Dawn theme, you can create separate metafields (or metaobjects) for the French and English images, then use a small Liquid condition to display the correct image based on the active language. Store both language versions of the image and use Shopify’s request.locale.iso_code to display the appropriate image based on the selected language. This allows you to keep a single product or collection while showing different visuals depending on the active language.
Best regards,
Devcoder ![]()
Hi @BigTrees
Thank you for your response. It’s good to know that it’s worked for you. Kindly feel free to get back to me if you need any further assistance. If helpful, please like all posts. ![]()
Best regards,
Devcoder ![]()