[QTranslate-XT] How to branch by language

Code

<?php if(qtranxf_getLanguage()=='ja'): ?>
<p>日本語</p>
<?php elseif(qtranxf_getLanguage() == 'en'):?>
<p>English</p>
<?php elseif(qtranxf_getLanguage() == 'pb'):?>
<p>Português</p>
<?php else:?>
<p>Other</p>
<?php endif;?>

Related article