Different images for each language
Hi @mariusjopen ! I just start to use the multilanguage plugin and it seems that you can't change images for each language; for example, I have text on some images and I would like to change that image for another that belongs to their respective language, but when I made the change, it affects all other languages. I just saw in the plugin's page that this option is not avaliable, but I'm asking if using some code it would be possible to do... the main problem I see is that all 3 languages have the same page ID, so I can't use classes to display different images.
Thank you in advance!!!
which plugin do you use?
Hello @mariusjopen ! Thank you for your answer! I'm using the qTranslateX plugin! I just found a way to change the images depending on the language, but it only works for simple images, not carousel for example; This is the way I find if anyone is looking for a solution: in the text box, you go to "source code", and there you put this code:
<p><img id="logo-image" class="aligncenter" src="yourimagelink" /></p>
You do this for any language you have. This is the only way to change the image depending on the language; as I say before, it does not work on carousel. If you have any suggestion for make this work it would be very nice!
Thank you again for your answer! Best!!
I also have a website in multiple languages using laytheme. But I didn't use the qtranslatex plugin but the polylang addon, which works with different pages for each language. So with this plugin it is definitely possible to use different images for each language.
But nevertheless as this plugin is not yet recommended, because there are not that much experiences until now, be aware and backup your database before installing and activating. ;-)
Hello @neunzehnachtneun ! Thank very much for your answer and advice! I'll definitely try this plugin you recommend. Again, thank you!! Best!!!
cool. Let us know how good it works.
Before you post
Use the Search Feature. Maybe there is already a solution to your issue.
1. Update Lay Theme and all Lay Theme Addons
2. Disable all Plugins
3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
4. Now see if your problem solved itself
5. Go here, see if your problem is listed here:
When you post:
1. Post a link to where the problem is
2. If the problem is difficult to explain, post screenshots / link to a video to explain it