Skip to content Skip to sidebar

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

Problem:
The client is experiencing issues with translating custom links in the menu on their multilingual website. One of the menu items is incorrectly translated into Arabic across all languages, while two others remain untranslated despite appearing translated in the 'main' domain for the menu.
Solution:
We recommend going to Appearance->Menus, switching to the English language, and then deleting and re-translating the menus. This approach resolved the issue during our testing. It's important to keep a backup before proceeding with these changes.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, 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. Should you need further assistance, 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.

Tagged: 

This topic contains 10 replies, has 2 voices.

Last updated by gondatP 1 year, 2 months ago.

Assisted by: Shekhar Bhandari.

Author Posts
May 29, 2024 at 8:04 am

gondatP

Background of the issue:
I am trying to translate custom links in the menu on my website. The issue can be seen at hidden link.

Symptoms:
One of the menu items is incorrectly translated into Arabic across all languages, while two others remain untranslated despite efforts to translate them. The WPML synchronize tab indicates that I need to translate the chains, but they appear translated when checked in the 'main' domain for the menu. Attempts to delete and recreate the chains and custom links have not resolved the issue.

Questions:
Why is one of the menu items incorrectly translated into Arabic for all languages?
Why do the other two menu items remain untranslated despite being translated in the 'main' domain?

May 29, 2024 at 9:19 am
May 29, 2024 at 10:48 am #15682976

gondatP

I tried disabling all plugins except wpml, string translation plugins and woocommerce as its entries are part of the menu and the same problem persist

May 29, 2024 at 11:42 am #15683235

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

I will need to replicate your site on my localhost to debug this issue forward, Do you have a backup of your site available, if yes, can you zip the wp-content and database backup and send it to using some file sharing flatform like google drive.

I have enabled the private reply for you.

Look forward to your reply.

Thanks

May 29, 2024 at 11:52 am #15683341

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

I will need to replicate your site on my localhost to debug this issue forward, Do you have a backup of your site available, if yes, can you zip the wp-content and database backup and send it to using some file sharing flatform like google drive.

I have enabled the private reply for you.

Look forward to your reply.

Thanks

May 29, 2024 at 2:41 pm
May 30, 2024 at 6:53 am #15685904

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

I went to Appearance->Menus, switched to English language and deleted the menus and re-translate and it's working for me, can you try this and see if it helps.

Note: Keep a backup before procedding

Thanks

May 30, 2024 at 7:39 am #15686221

gondatP

What do you mean by retranslate ?
I tried deleting the english menu, then going to synchronize menu and it recreated it but the same problem persist

May 30, 2024 at 7:59 am #15686402

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

I mean to go to WPML->WP menu synch and synchronize it again.

I did the tests and can see the issue on your site, but on my localhost with nothing disabled, I can synchronize the menu easily.

Can you ask your server provider if there are any query blocked or any errors in the server logs, that will help to figure out the issue.

Look forward to your reply.

Thanks

May 30, 2024 at 8:25 am #15686597

gondatP

Could you try to do it on the live website just to be sure ?
I can ask my provider but they are usually really slow to answer support

May 30, 2024 at 9:33 am #15686968

gondatP

Ok i managed to fix the top menu items by creating shortcodes instead of the faulty items and completely deleting the menus in other languages. Not the perfect fix but it is working

May 30, 2024 at 10:04 am #15687153

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Glad to know that, lets wait for the feedback from the server team and we can try the permanent fix.

Look forward to your reply.

Thanks

May 30, 2024 at 2:08 pm #15688453

gondatP

It's ok I don't expect them to be helpful and we're probably changing hosting provider soon so I'm closing this issue, thank you