I have a website that I translated with Weglot, the problem I have is that I wan’t some different images on the translated version. I followed Weglot’s tutorial, but it doesn’t work. I read that this problem is common and used an embed with the image source code. But that doesn’t work either.
Have you tried using CSS to show/hide images based on the language class Weglot adds to the body tag? For example, if you have an English version and a French version, you could have two sets of images on your page, one for each language. Then use CSS to display the relevant images for each language while hiding the others.
In this code, .image-en is the class for images shown in the English version, and .image-fr is for the French version. Adjust the language codes and class names as per your website’s setup.