Support » Plugin: Multilanguage by BestWebSoft » How to create conditional language term in template?

  • I wish I have something like this in my template file:

    <h2>
    <?php if('pt'): ?>
    Title in Portuguese
    <?php elseif('en'): ?>
    Title in English
    <?php endif; ?>
    </h2>

    Any suggestion?

    Thanks!

  • You must be logged in to reply to this topic.