Title: Menu&amp;widgets doesn&#8217;t switch language
Last modified: November 8, 2016

---

# Menu&widgets doesn’t switch language

 *  [Kaooia](https://wordpress.org/support/users/kaooia/)
 * (@kaooia)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/menuwidgets-doesnt-switch-language/)
 * **My information:**
    Your permalinks settings: entry name Static front page: 
   yes Polylang 2.0.7 settings: all default settings site url: [http://www.ub.edu/casosint](http://www.ub.edu/casosint)
 * **Problem**: I added manually a language switcher in my header and customize 
   it with css. In some point the switcher stopped working and now it only translates
   the content (pages, posts, etc) but not the menu and widgets. So these to are
   always displayed in spanish.
 * I added the following in header.php, maybe here’s the problem but since i’m not
   expert I can’t understand what’s happening:
    `<?php pll_the_languages(array('
   show_flags'=>0, 'show_names'=>1)); ?>`
 * Now if I delete this I just get some kind of error and nothing shows up.
 * **Things I tried:**
    – Deactivate Polylang and create two menus in your theme.
   Assign the second menu which you have created and check your frontend: what happens
   is that no content shows up, neither the static page. – Deactivte plugins to 
   see incompatibilities, nothing seems to be troubling. – Checked my menus catalan/
   spanish, also the widgets. They are correctly configured to be shown in correspondent
   languages.
 * Thank you for your support.

Viewing 1 replies (of 1 total)

 *  Thread Starter [Kaooia](https://wordpress.org/support/users/kaooia/)
 * (@kaooia)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/menuwidgets-doesnt-switch-language/#post-8409660)
 * I had as default language: catalan. Now I changed it to spanish and menu&widgets
   are now in spanish but still doesn’t change to catalan when I press the switcher.
   Maybe is some kind of incompatibility with this preset?

Viewing 1 replies (of 1 total)

The topic ‘Menu&widgets doesn’t switch language’ 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/)

## Tags

 * [menu](https://wordpress.org/support/topic-tag/menu/)

 * 1 reply
 * 1 participant
 * Last reply from: [Kaooia](https://wordpress.org/support/users/kaooia/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/menuwidgets-doesnt-switch-language/#post-8409660)
 * Status: not resolved