Viewing 1 replies (of 1 total)
  • Hi,

    Don’t if you figured it out already, but I saw your post looking for something else.

    I used a little php to get this to work, like this:

    $currentLang = qtrans_getLanguage();
    
    //your italian text
    if ($currentLang == 'it') { ?>
    	<div class="nav-text">Categorie e città</div>
    <?php
    //your english text
    } if ($currentLang == 'en') { ?>
             <div class="nav-text">Categorie e città</div>
    } ?>

    Hope that helps!

Viewing 1 replies (of 1 total)

The topic ‘change lang in html div’ is closed to new replies.