Skip Navigation

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

Problem:
The client is experiencing an issue where the menu disappears when switching languages, showing only the home button after installing WPML and translating some pages.
Solution:
1. We recommend translating the menu items following the steps in our guide on Translating Menus. After completing the menu translations, the issue should be resolved.
2. We also advise increasing the WordPress memory limit to at least 128MB. This can be done by adding the following code to the

wp-config.php

file:

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

Place this code above the line that says /* That's all, stop editing! Happy blogging. */.
You can verify the updated memory limit in the WPML -> Support section.

If this solution doesn't look relevant, please open a new support ticket.

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 1 reply, has 2 voices.

Last updated by Carlos Rojas 1 year, 4 months ago.

Assisted by: Carlos Rojas.

Author Posts
December 29, 2023 at 11:25 am #15136520

ericS-27

Tell us what you are trying to do? I just installed WPML plugin and start with translating. I did three pages in English and one in Portugees. I see the flags in the menu but when I switch to English or Portugees I loose the menu. I see only the home button.

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site? It is standing under construction

Schermafbeelding 2023-12-29 om 11.23.02.png
Schermafbeelding 2023-12-29 om 11.22.51.png
Schermafbeelding 2023-12-29 om 11.22.35.png
December 29, 2023 at 11:37 am #15136597

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.- It seems that you haven't translated the menus yet. Once you translate the content that appears in the menu, then you need to follow the steps described in this guide: https://wpml.org/documentation/getting-started-guide/translating-menus/

Once you finish the translation of the menu the problem will be solved.

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

Regards,
Carlos