Skip to content Skip to sidebar

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

Problem:
The client reported that after translating and synchronizing the main menu from English to Italian, the main menu still displayed in English, while the footer menu displayed correctly in Italian.
Solution:
1. We recommended increasing the WordPress memory limit to at least 256 MB 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. */.
2. After increasing the memory limit, we checked the site configuration and translated the IDs of the menus, which resolved the issue with the main menu not displaying in Italian.
3. For the issue with the footer widgets still displaying in English, we advised creating a separate widget for each language as described in our documentation: Translating Widgets.

If this solution does not resolve your issue or seems outdated, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket if the problem persists.

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.

Tagged: 

This topic contains 2 replies, has 0 voices.

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

Assisted by: Carlos Rojas.

Author Posts
January 21, 2025 at 12:08 pm #16617926

denisF-10

Background of the issue:
I have translated and synchronized the main menu from English to Italian. The page itself is visualized correctly in Italian, but the main menu remains in English. There's a second menu in the footer that displays correctly in Italian. URL: hidden link

Symptoms:
The main menu does not display in Italian when switching from English, although the footer menu does.

Questions:
Why is the main menu not displaying in Italian?
How can I ensure the main menu is synchronized correctly?

January 21, 2025 at 12:59 pm #16618600

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

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

Once the WordPress memory limit is increased, double-check if the issue disappears.

Regards,
Carlos

January 21, 2025 at 3:51 pm #16619706

denisF-10

Hi Carlos,

Thanks for your reply. I've increased the memory limit to 256 MB now but that doesn't solve the issue.

Regards,
Atanas

January 21, 2025 at 4:07 pm #16619802

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hi Atanas,
Thank you for your message

In this case, I would like to take a look at the site configuration. I have set your next message private so you can securely share the access credentials.

Please confirm you have created a full site backup before sharing the credentials that you can use to restore the site if necessary.

January 22, 2025 at 10:39 am #16622265

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hi,

I'm getting this error:

Error: The username Carlos_Rojas is not registered on this site. If you are unsure of your username, try your email address instead.

January 22, 2025 at 2:45 pm #16623737

denisF-10

Hi Carlos,

There was some glitch, you can try again now.

Regards,
Atanas

January 23, 2025 at 9:21 am #16626334

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hi Atanas,
This time I was able to log into the site.

I translated the IDs of the menus and now it is working correctly. Can you confirm that the issue is solved?

January 27, 2025 at 8:20 pm #16639229

denisF-10

Hi Carlos,
These are looking great now, thank you!
Can you please take a look at the footer too - I have translated the widgets and widget titles but they are still displayed in English.

January 28, 2025 at 10:25 am #16640831

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hi Atanas,

In this case you need to create a widget per each language as described in this section of our documentation: https://wpml.org/documentation/getting-started-guide/translating-widgets/#using-different-widgets-for-different-languages

I created the 'Latest posts' widget in Italian so yo can see it in action 🙂

January 29, 2025 at 12:56 pm #16646592

denisF-10

Thank you Carlos, it's all working now.
Best regards,
Atanas

January 29, 2025 at 1:00 pm #16646628

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hi Atanas,

I'm happy to hear that the issue was solved 🙂
Please don't hesitate to contact us if you need our help in the future with WPML.

Have an excellent day!