WordPress.org

Ready to get started?Download WordPress

Forums

qTranslate
Won't stay in the chosen language (2 posts)

  1. julesgob
    Member
    Posted 1 year ago #

    Using WordPress 3.4, Atahualpa Theme 3.7.7 and qTranslate 2.5.29

    Interesting plugin that saves a lot of work. Making bilingual pages works fine but I'm stuck with this problem.

    I built my own bilingual menu (French and English) and it won't stay in the chosen language. When viewing in French, it works fine and stays in French. When viewing in English, it switches from English to French each time I select a page in the menu.

    I'm using this HTML code:

    <div class="menu_container"><p class="menuitems">
    
    	<!--:fr--><a class="menuitem" href="http://julesgobeil.com/photo/?lang=fr/">Accueil</a><!--:-->
    	<!--:en--><a class="menuitem" href="http://julesgobeil.com/photo/?lang=en/">Home</a><!--:-->
    
    	<!--:fr--><a class="menuitem" href="http://julesgobeil.com/photo/photos/?lang=fr/">Photos</a><!--:-->
    	<!--:en--><a class="menuitem" href="http://julesgobeil.com/photo/photos/?lang=en/">Photos</a><!--:-->
    
    	<!--:fr--><a class="menuitem" href="http://julesgobeil.com/photo/articles/?lang=fr/">Articles</a><!--:-->
    	<!--:en--><a class="menuitem" href="http://julesgobeil.com/photo/articles/?lang=en/">Articles</a><!--:-->
    
    	<!--:fr--><a class="menuitem" href="http://julesgobeil.com/photo/bio/?lang=fr/">À propos</a><!--:-->
    	<!--:en--><a class="menuitem" href="http://julesgobeil.com/photo/en/bio/?lang=en/">About</a><!--:-->
    
    	<!--:fr--><a class="menuitem" href="http://julesgobeil.com/photo/services/?lang=fr/">Services</a><!--:-->
    	<!--:en--><a class="menuitem" href="http://julesgobeil.com/photo/en/services/?lang=en/">Services</a><!--:-->
    
    	<!--:fr--><a class="menuitem" href="http://julesgobeil.com/photo/contact/?lang=fr/">Contact</a><!--:-->
    	<!--:en--><a class="menuitem" href="http://julesgobeil.com/photo/en/contact/?lang=en/">Contact</a><!--:-->
    
    </p></div>

    You can see it in action here:
    http://julesgobeil.com/photo/?lang=fr/"

    Can anybody help me on this one.

    Thanks
    Jules

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

  2. solybarr
    Member
    Posted 1 year ago #

    I have a similar issue but only with the Home page.. all other pages stay in the second language (spanish) but the code for lang=es is not added to the main home page (created dynamically by the twenty eleven template).

    Were you able to resolve this?

    The homepage is a static Page - http://lvepanama.solybarr.com/

    thanks!

    Sol

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags