Skip to content Skip to sidebar

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

Problem:
The client is facing issues with incorrect translations of menu links on their website, leading to wrong pages. They are looking for a way to automate the translation process instead of manually fixing each string.
Solution:
If you're experiencing similar issues with menu link translations, we recommend the following steps:
1. Ensure all posts and pages are translated.
2. Translate the Menu links automatically via WPML>>String Translation. For more details, refer to our documentation on Translating Menus with Custom Links and String Translation.
3. Create a menu in the default language.
4. Go to WPML-> WP Menu Sync and sync the menus.
5. Go to WPML-> String Translation.
6. Translate the custom URL menu items (Labels and URLs).
7. Check the translated menu on the front end.

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 the problem persists, 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 4 replies, has 1 voice.

Last updated by Osama Mersal 1 year ago.

Assisted by: Osama Mersal.

Author Posts
April 5, 2025 at 7:22 am #16899503

andreK-35

Background of the issue:
I am trying to resolve an issue with wrong translations in menu links on my site hidden link. I want to repeat the whole translation process fully automated instead of fixing single strings manually, as manual fixing did not work for me.

Symptoms:
Menu links are incorrectly translated, leading to wrong pages.
Detailed description was confirmed by you correctly in ticket #16821649

Questions:
Which settings should I choose in WPML to prevent this translation error?
How can I automate the translation process for the entire site?

April 5, 2025 at 7:35 am #16899522

andreK-35

Also note: Link translation was failing only for numbered permalinks of individual links that we have used for anchors in the original pages.
the main menue items have been auto translated as plain text, which works fine both for the menue and the pages.

April 8, 2025 at 4:20 am #16906637

Bigul

Hello,

Welcome to the WPML support forum. Before passing this thread to my colleague, I would like to share some suggestions and possible solutions for the issues you mentioned.

Sorry for the late response because of the holidays and the high support load. It is not normal here. Thank you for your kind understanding.

We hope you have translated all the posts and pages of the site. Have you tried to translate the Menu links automatically from WPML>>String Translation?

Please refer to the following docs for more details and let us know your feedback.

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

https://wpml.org/documentation/getting-started-guide/string-translation/#translating-strings-using-wpml

--
Thanks!

Bigul

April 12, 2025 at 6:14 am #16924929

andreK-35

Yes i have tried to follow the descriptions of your help articles, two times.

Problem with the standard explanations is:
1)they do not tell what to write into the string
2) they do not solve the problem in general; that means next time i do a autotranslation, i will create the same mistake again.

Because of that i have asked you for a solution of NOT fixing the current issue,
But choosing correct settings in order to avoid the issue with a new full automatic translation.

Please read also the previius ticket, #16821649 which was timed out by your system, but not resolved.

Thank you very much
Andre

April 13, 2025 at 1:18 pm #16926449

Osama Mersal

Hi Andre,

I'm Osama from WPML forums support. I'll be glad to help you today.

First of all, sorry for the late reply; it was due to a higher workload.

Please check the following steps to translate the menus correctly:

1- Create a menu in the default language
2- Go to WPML-> WP Menu Sync and sync the menus
3- Go to WPML-> String Translation
4- Translate the custom URL menu items (Labels and URLs)
5- Check the translated menu on the front end

Best regards,
Osama