Skip Navigation

Resolved

Resolved in: WPML 4.6.0

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, 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

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.

2 Responses to “Not possible to add a language switcher to the Navigation Block”

    • Hello there,
      This is already in our roadmap and should be fix soon.
      We will update it when we have any news.
      Thank you for your understanding.
      Regards