Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client was unable to attach a WPML language switcher to the 'main' menu on their development website, which was built using Elementor. WPML did not recognize the menu, and the client preferred the language switcher to be integrated directly within the menu rather than as a separate element.
Solution:
1. We advised the client to ensure that the menu is translated, as WPML requires menus to be translated to assign a language switcher to them. Detailed steps for translating menus can be found here: https://wpml.org/documentation/getting-started-guide/translating-menus/
2. After translating the menu, the client can add a language switcher to it via WPML -> Languages.
3. We also recommended increasing the WordPress memory limit to at least 128MB, as per WPML's minimum requirements. This can be done by adding the following code to the wp-config.php file:

/* Memory Limit */<br />define('WP_MEMORY_LIMIT', '256M');

This code should be placed above the line /* That's all, stop editing! Happy blogging. */.
The client can verify the WordPress memory limit in WPML -> Support.

If this solution does not resolve your issue or seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 4 replies, has 1 voice.

Last updated by Carlos Rojas 1 week, 4 days ago.

Assisted by: Carlos Rojas.

Author Posts
April 5, 2026 at 8:36 pm #17950266

hailinC

I have a menu called main for my development website, but WPML can't attach language switch to that menu and report there is no menu error.

Screenshot Screenshot 2026-04-05 163310.png proved I have menu defined, I use elementor to build the header
Screenshot 2026-04-05 153153.png shows the WPML can't find the menu

April 5, 2026 at 8:54 pm #17950327

hailinC

I want my language switcher be part of my menu, not live separately. Living separately doesn't look good at iphone

Screenshot 2026-04-05 165411.png
April 6, 2026 at 4:37 pm #17952080

hailinC

Anyone can look into it?

April 7, 2026 at 8:36 am #17953047

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hello,
Thank you for contacting us

1.- To WPML be able to assign a language switcher to a menu, the menus itself needs to be translated. To translate the menu, please follow the steps described in this guide: https://wpml.org/documentation/getting-started-guide/translating-menus/

Once the menu is translated, you will be able to add a language switcher to it in WPML -> Languages

2.- Please increase the WP memory Limit. Minimum requirements are 128Mb: https://wpml.org/home/minimum-requirements/
You can add this to wp-config.php to increase WP memory:

/* Memory Limit */
define('WP_MEMORY_LIMIT', '256M');

- Add it above the line /* That's all, stop editing! Happy blogging. */

You can double-check the WordPress memory limit in WPML -> Support

Best regards,
Carlos

April 7, 2026 at 10:36 am #17953515

hailinC

Thanks for help. Now the issue is resolved.

April 7, 2026 at 10:45 am #17953577

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

I'm glad to hear that the issue is solved.

Please don't hesitate to contact us if you need our assistance in the future with WPML. We are here to help 🙂