WPML

Overview of the Issue

With the Twenty Twenty-Two theme, WordPress implemented the new Full Site Editing mode. Now, the menu should be added using a Navigation Block (opens in a new tab), instead of the traditional method through AppearanceMenus.

At the moment, it is not possible to add a language switcher to a menu created with the Navigation Block through the WPMLLanguagesMenu Language Switcher option.

Workaround

This issue is fixed in WPML 4.6.0. Updating solves it on your site, so you only need this workaround if you can’t update yet.

You can add a language switcher using a shortcode.

  1. Add a menu using the Navigation Block.
  2. Click on the + icon to add a new item to the menu.
  3. In the text field, add a language switcher shortcode and hit enter. E.g. [wpml_language_switcher flags=1 native=1 translated=1][/wpml_language_switcher]
  4. Save the page.
  5. The language switcher should be displayed in the menu on front-end.

All known issues

Still Seeing This Issue?

If updating doesn’t fix it, ask a support question and we’ll look into it with you.