Viewing 4 replies - 1 through 4 (of 4 total)
  • thank you for the compliments to the author who has bothered to write the article in wiki 😉

    If you are a web developer, I invite you to read the source of the example child theme named twentyeleven-xili… You will understand how menus location are cloned for each language… see http://2011.wpmu.xilione.com/download/

    and this page http://wiki.xiligroup.org/index.php/Xili-language:_navigation_menu

    Enjoy !

    Thread Starter nkosazana

    (@nkosazana)

    Thank you for your reply. I will follow your instructions.

    I meant no offense or disrespect by saying the instructions were not clear, and I am sorry if it came across that way. I know a lot of work goes into creating plugins. I am merely trying to understand how this one works.

    Thank you.

    No offense, but that instruction is too hard to understand…
    I’m reading the source code of twentyeleven-xili now…

    Hi!! I was having the same problem, but using qtranslate, I solved it using 2 navigation menus and calling each other with a drop down selection. Maybe you can adapt it to work with xili. Hope it helps!!

    <nav id=”-main-menu”>
    <?php
    if(qtrans_getLanguage()==’en’) {
    // put your code here if the current language code is ‘en’ (English)
    wp_nav_menu( array(‘menu’ => ‘Nav_en’ ));

    } elseif(qtrans_getLanguage()==’es’) {
    // put your code here if the current language code is ‘id’ (Español)
    wp_nav_menu( array(‘menu’ => ‘Nav’ ));}?></nav>

    <div> <?=qtrans_generateLanguageSelectCode(‘dropdown’);?> </div>

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Language specific navigation menus?’ is closed to new replies.