Recently my task to fix some issue with the wordpress website. On the footer have a images need connect to multilingual page. I found here is the solution that solve my problem. So I put it down here in case future needed it.
<div id="site-generator">
<?php $lingo = qtrans_getLanguage();?>
<?php if ($lingo == 'en') : ?>
<!-- English HTML here -->
<?php else : ?>
<!-- Other language HTML here -->
<?php endif ?>
</div>
Thanks! Much appreciated π
Thanks, much appreciated!
In the newest version of the qtranslate-x plugin the method is slightly different though:
just for future reference π
cheers
Sorry for later reply. I am not working on wordpress cms system for a while. Probably can not help you.
But the version I was on using qtrans_getLanguage() to return your which language. you probably just need to find the replace function