WordPress.org

Ready to get started?Download WordPress

Forums

Polylang
[resolved] polylang - menus are not translated - update problem (3 posts)

  1. josephadam
    Member
    Posted 1 year ago #

    Hello,

    Permalinks settings : http://local.mydomain.com/exemple-article/
    I use a static front page.

    • When the front page is visited, set the language according to the browser preference : yes
    • The language code, for example /en/, is added to all urls when using pretty permalinks.
    • Remove /language/ in pretty permalinks. Example: http://local.mydomain.com/en/
    • Hide URL language information for default language:yes
    • When using static front page, redirect the language page (example: http://local.circoalamaleta.be/en/) to the front page in the right language:yes
    • Allow to synchronize categories, tags, featured image and other metas between translations of a post or page

    I have disable all others plugins and I use WordPress 3.4.2.

    I have updated de plugin 0.9.4 > 0.9.5
    Now, on frontend, menus are always displayed on the default language for all languages (I use "wp_nav_menu()" to display menu. The translation doesn't work anymore.
    I the admin panel => languages>menu, the tab is empty. Now I can't manage menu by language.

    What can do ?

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

  2. Chouby
    Member
    Plugin Author

    Posted 1 year ago #

    It's strange because nothing should have changed for menus between 0.9.4 and 0.9.5. Did you make an automatic or manual update?

    Have you some parameters in you wp_nav_menu function?
    How do you register your nav menu ? using register_nav_menu?

  3. josephadam
    Member
    Posted 1 year ago #

    Hello !

    Thank You for you tips. I called the menu this way :
    wp_nav_menu();

    If I call the menu as it all works fine : wp_nav_menu( array( 'theme_location' => 'primary' ) )

    I love this plugin !

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags