Title: [Plugin: Polylang] multilingual menus
Last modified: August 20, 2016

---

# [Plugin: Polylang] multilingual menus

 *  [wpjbonline](https://wordpress.org/support/users/wpjbonline/)
 * (@wpjbonline)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-polylang-multilingual-menus-1/)
 * Hello,
 * we are using the theme “Elogix” for our wordpress installation.
    Our problem 
   is that we can’t get two languages to work completely fine with it – the menu
   does not switch to the other language as well, remains as the one before. Custom
   menus are supported. Also, it does not show a language switcher in the menu. 
   Could you please help us?
 * Thanks in advance!
 * [http://wordpress.org/extend/plugins/polylang/](http://wordpress.org/extend/plugins/polylang/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-polylang-multilingual-menus-1/#post-2658048)
 * It’s hard to help with non free themes.
 * Can you access the languages -> menus panel ? If yes, it is possible that your
   theme hardcodes its menu name (in that case, Polylang will not switch menus).
   To check that, look in your code for “wp_nav_menu”. For Polylang to work, the
   theme_location must be defined but not the menu.
 * Something like:
 *     ```
       wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>
       ```
   
 * is OK
 * Something like:
 *     ```
       wp_nav_menu( array('menu' => 'Project Nav' ));
       ```
   
 * is not OK
 *  [danielgc](https://wordpress.org/support/users/danielgc/)
 * (@danielgc)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-polylang-multilingual-menus-1/#post-2658120)
 * Chouby, words can’t express my gratitude, you are awesome! Your plugin is excellent
   and this single answer along [http://codex.wordpress.org/Navigation_Menus](http://codex.wordpress.org/Navigation_Menus)
   helped me to configure a bought theme! (the menu name was hardcoded). You are
   so kind and patient, something not usual nowadays.
 * Best regards, and thank you!
 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-polylang-multilingual-menus-1/#post-2658124)
 * Thank you very much for this positive feedback 🙂
 *  [Xavi79](https://wordpress.org/support/users/xavi79/)
 * (@xavi79)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-polylang-multilingual-menus-1/#post-2658194)
 * I’m using Polylang with The Proton theme, and I suffered problems to set multingual
   menus becouse, as [@chouby](https://wordpress.org/support/users/chouby/) had 
   suggested in some previous support answers, The Proton is a hardcoded theme and
   there is not a generic solution for my problem.
 * I solved my problem in this way:
 * in header.php changed this:
 * wp_nav_menu( array(‘container’ => ‘nav’, ‘container_class’ => ‘jqueryslidemenu’,‘
   container_id’ => ‘menu’, ‘walker’ => new description_walker() ));
 * for this:
 * <?php wp_nav_menu( array(‘container’ => ‘nav’, ‘container_class’ => ‘jqueryslidemenu’,‘
   container_id’ => ‘menu’, ‘theme_location’ => ‘primary’, ‘walker’ => new description_walker()));?
   >
 * I’m new in php and wordpress, and I don’t know exactly what this change means
   or does, I’ve been trying and works for me. Perhaps can help someone.
 * fins aviat!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: Polylang] multilingual menus’ is closed to new replies.

 * ![](https://ps.w.org/polylang/assets/icon-256x256.png?rev=3433336)
 * [Polylang](https://wordpress.org/plugins/polylang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/polylang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/polylang/)
 * [Active Topics](https://wordpress.org/support/plugin/polylang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/polylang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/polylang/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [Xavi79](https://wordpress.org/support/users/xavi79/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-polylang-multilingual-menus-1/#post-2658194)
 * Status: not resolved