Skip Navigation

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

Problem:

WP Menus Sync with multiple Sync outcomes

Solution:

I translated the custom URL menu item's strings using String Translation. After that, the WP Menu Sync worked correctly.

Relevant Documentation:
https://wpml.org/documentation/getting-started-guide/translating-menus/#translating-custom-links

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 4 replies, has 2 voices.

Last updated by Osama Mersal 12 months ago.

Assisted by: Osama Mersal.

Author Posts
December 1, 2023 at 2:59 pm #14974045

thomasG-103

I am trying to translate my English menu into German, Spanish, and Italian. I went to WP Admin > WPML > WP Menus Sync. Here, I see that the English "Login" has multiple synchronization options for EACH language, and the item that I thought I had fixed by providing a translation ("Join Our Community"), does not show that it will be changed upon Sync'ing. I will add a screenshot of the WP Menus Sync page so you can see what I mean

I also see the wrong URL associated with "Join Our Community". Something is really wrong.

Our site is hidden link

WP Menus Sync page.png
December 3, 2023 at 11:17 am #14979961

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

1) First of all, sorry for the late reply; it was due to a higher workload. I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

2) It's not related to the issue, but according to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. The minimum requirements for WPML are 128 MB. (Kindly check this page https://wpml.org/home/minimum-requirements/)

You can increase it by adding the following code in your wp-config.php file right before the /* That's all, stop editing! Happy publishing. */ line:

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

Best regards,
Osama

December 4, 2023 at 9:04 am #14983397

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi Tom G,

1) I translated the strings using String Translation. Please check if the menu Sync works correctly.

2) The PHP memory limit is 256M, but the WordPress memory limit is 40M. In order to check it, please go to WPML-> Support page.

Best regards,
Osama

2023-12-04_11-01-59.jpg
December 4, 2023 at 9:34 am #14983793

thomasG-103

Hi Osama,
Thank-you! The menus look great. In fact, since they look so good, I'm a little concerned about running the Menu sync. Should I really try it?

Tom G

December 4, 2023 at 9:37 am #14983805

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi Tom G,

If they work as expected, you don't have to rerun it. I translated the strings and ran it once to take the screenshot in my previous reply.

Best regards,
Osama

December 4, 2023 at 11:12 am #14985621

thomasG-103

It's perfect! Thanks for your help Osama. BTW: I'm not able to click on the "The support team helped me find a fix to the problem" radio button, but that is certainly the one that I want to select!