WordPress.org

Ready to get started?Download WordPress

Forums

qTranslate
Switching language in the same page. (1 post)

  1. markbarna
    Member
    Posted 1 year ago #

    Hello!

    I have a serious problem with a qTranslate buttons. :(
    Right now the web structure is: http://www.website.com/news/?lang=en

    When I stay in the home page and I try to change the language, the botton opens the first post (maybe because I'm using permalink):

    [code]
    <?php if(qtrans_getLanguage()=='it'): ?>

  2. " >eng
  3. <li class="liguaattiva">ita
    <?php endif; ?>
    <?php if(qtrans_getLanguage()=='en'): ?>
    <li class="liguaattiva">eng

  4. " >ita
  5. <?php endif; ?>
    [/code]

    How can solve this without open the last post o come back at the home page, but only switching language in the same page ?

    Thank you so much in advance!

    Mark

    http://wordpress.org/extend/plugins/qtranslate/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags