Reported for: WPML Multilingual CMS 3.6.0

Resolved in: 3.6.2


When you add a language switcher to a menu that has an encoded name, i.e. “התפריט שלי”, after clicking the Save button the process stops and the button stays disabled. Finally, the settings for the language switcher in this menu are not saved at all.

As an additional symptom of this issue, you can also notice the following error in the browser console:
Uncaught Error: Syntax error, unrecognized expression: #wpml-ls-inline-styles-menus-…


While we are analysing this issue to fix it, we can suggest the following workaround:

1. Go to Appearance -> Menus.
2. Rename the menu, use an English name (e.g. “My menu 1”) and save.
3. Go to WPML -> Languages.
4. Add a new language switcher to a menu and assign it to the new, English name (e.g. “My menu 1”), then save.