Title: Polylang Language Switcher Issue
Last modified: October 11, 2016

---

# Polylang Language Switcher Issue

 *  Resolved [kopr](https://wordpress.org/support/users/kopernikus/)
 * (@kopernikus)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/polylang-language-switcher-issue/)
 * I’m using the latest version to date of MMM and Polylang on ColorMag theme. And
   I found an issue when I was trying to put the Language Switcher onto the right
   side of the navigation by positioning the Menu Item Align setting to ‘Right’.
   The menu item (Language Switcher) seems to ignore the setting I’d configured 
   and still set on default position (Left). Can you help me resolve it?
 * Another issue (might be OOT): It looks like I’m also unable to delete menu toggle
   on the Mobile Menu setting by clicking ‘Delete’, did I do wrong?
 * Thanks

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

 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/polylang-language-switcher-issue/#post-8270764)
 * Hi [@kopernikus](https://wordpress.org/support/users/kopernikus/),
 * Please could you post a link to your site so I can take a look?
 * Regarding deleting the menu toggle button, that is by design (there will always
   be a menu toggle block). To hide it you would need to use some custom CSS.
 * Regards,
    Tom
 *  Thread Starter [kopr](https://wordpress.org/support/users/kopernikus/)
 * (@kopernikus)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/polylang-language-switcher-issue/#post-8274490)
 * Hi, Tom.
 * The site is under development, and currently offline, so I’m unable to provide
   you with the link, but I might be able to clue you into the problem.
 * The menu item (language switcher) is not getting the additional class (mega-item-
   align-right) like it would be when the alignment configuration is set to “Right”.
   Anyhow, I managed to workaround this problem, in a less-preferable way, by hard-
   coding Polylang switcher PHP file, I simply added ‘item-align-right’ into its
   classes variable so MMM could complete the necessary classes to get it right,(
   you see what I did there? :D), except it becomes right permanently. The result
   is as intended, but not in the way I want it.
 * Regarding the toggle menu: I accidentally add 1 extra toggles, but I couldn’t
   remove it, it won’t anywhere no matter how many times I hit ‘Delete’ button. 
   I don’t know if it would stay there forever if I saved the change, so I just 
   refresh the page instead
 * Hope it helps you help me. Thanks.
    -  This reply was modified 9 years, 8 months ago by [kopr](https://wordpress.org/support/users/kopernikus/).
 *  Thread Starter [kopr](https://wordpress.org/support/users/kopernikus/)
 * (@kopernikus)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/polylang-language-switcher-issue/#post-8274515)
 * Hi [@mohamedsh90](https://wordpress.org/support/users/mohamedsh90/)
 * I’m still figuring out how is [this](http://goo.gl/Xi4imC) possibly help me.
 * But thanks, though.
 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/polylang-language-switcher-issue/#post-8275227)
 * Hi [@kopernikus](https://wordpress.org/support/users/kopernikus/),
 * I’ve checked both issues and I’m not seeing the same thing here.
 * I have a PolyLang language switcher added (displaying languages in a dropdown),
   set Menu Item Align to right and it’s aligned to the right as it should be. Please
   go back into the mega menu settings and check Menu Item Align is set to right,
   and make sure you scroll down and click ‘Save settings’.
 * It’s the same for the mobile toggle for me here – I added a new menu toggle block(
   so I had 2). Saved the Theme. Deleted a menu toggle block. Saved the theme. The
   second mobile toggle block was correctly removed. Did you save the theme after
   deleting the toggle block?
 * Regards,
    Tom
 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/polylang-language-switcher-issue/#post-8275233)
 * Adding modlook tag for spamming looking links
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [9 years, 8 months ago](https://wordpress.org/support/topic/polylang-language-switcher-issue/#post-8275335)
 * [@mohamedsh90](https://wordpress.org/support/users/mohamedsh90/), In future please
   try to provide support within the same thread that people are asking for help.
 *  Thread Starter [kopr](https://wordpress.org/support/users/kopernikus/)
 * (@kopernikus)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/polylang-language-switcher-issue/#post-8279839)
 * Hi, Tom
 * I forgot to mention that I actually have tried your way before starting this 
   thread: displaying the switcher in a drop-down menu, aligned it to Right, saved
   it and yes, it actually worked. But the thing is: I don’t want a drop-down menu,
   I prefer the switcher showing the lang name only while hiding the current, I 
   even have done both versions but only the drop-menu one that moved to the right.
   It had no problem with another menu item, tho.
 * Ok, it looks like I have to save it first before I’m able to delete it. Well,
   it solved, then. But. just curious, tho, have you tried adding several toggles
   and remove it BEFORE you save it? I don’t know maybe add 2 or 3 more toggles,
   but do not save it, yet, pretend like, “oops, too much, damn lag! Got to remove
   it”, then try to remove it. Is it deleted? Because mine doesn’t.
 * Cheers.
 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/polylang-language-switcher-issue/#post-8282473)
 * Hi [@kopernikus](https://wordpress.org/support/users/kopernikus/),
 * Ah, that makes sense. When the languages are displayed as a dropdown, the parent
   item (the ‘Language Switcher’) remains in the menu structure, and the mega menu
   classes are applied to it. Otherwise the Language Switcher item is removed, and
   replaced with the language links. Those new links do not seem to inherit the 
   mega menu settings from the parent item, which has now disappeared. For an edge
   case like this, it seems reasonable to use Custom CSS to align them to the right.
 * I will check out the toggle block issue you have mentioned. The blocks are only
   saved once the theme is saved, so I’m not sure why that would happen, but I will
   take a look. I’ll report back here if I find a problem.
 * Regards,
    Tom
    -  This reply was modified 9 years, 8 months ago by [megamenu](https://wordpress.org/support/users/megamenu/).
 *  [SoulaimaneAMRI](https://wordpress.org/support/users/soulaimaneamri/)
 * (@soulaimaneamri)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/polylang-language-switcher-issue/#post-8990048)
 * Hello,
 * I’m sorry maybe I’m not gonna talk about the main issue in the discussion but
   still I have Polylang Switcher Issue. In fact, I installed it on wordpress and
   added the code to the header <ul style=”padding-right:43px; background-color:#
   00b3b8;”><?php pll_the_languages(array(‘show_flags’=>1,’show_names’=>1)); ?>.
   It is working normally but not on mobile.
 * The language switcher is not clickable on Mobile: (www.amrisoulaimane.com/dialtechnologies)
 * Could you please help?
 * Many thanks in advance
 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/polylang-language-switcher-issue/#post-8990240)
 * Hi Soul,
 * The issue you have is with PolyLang itself, please try posting in the PolyLang
   forums here:
 * [https://wordpress.org/support/plugin/polylang](https://wordpress.org/support/plugin/polylang)
 * Regards,
    Tom

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

The topic ‘Polylang Language Switcher Issue’ is closed to new replies.

 * ![](https://ps.w.org/megamenu/assets/icon-128x128.png?rev=1489843)
 * [Max Mega Menu](https://wordpress.org/plugins/megamenu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/megamenu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/megamenu/)
 * [Active Topics](https://wordpress.org/support/plugin/megamenu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/megamenu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/megamenu/reviews/)

 * 10 replies
 * 4 participants
 * Last reply from: [megamenu](https://wordpress.org/support/users/megamenu/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/polylang-language-switcher-issue/#post-8990240)
 * Status: resolved