How to change footer language in multilingual website?

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>

4 thoughts on “How to change footer language in multilingual website?”

  1. Thanks, much appreciated!

    In the newest version of the qtranslate-x plugin the method is slightly different though:

    just for future reference πŸ˜‰
    cheers

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s