Skip Navigation

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

Problem:
The client is facing an issue where the menu links in the French version of their site, which uses Elementor for the header and not a WordPress menu, still point to the URLs in the English version.
Solution:
We recommend translating the URLs when translating the header. This can be done using the Advanced Translation Editor. For detailed steps, please refer to the documentation on how to use the Advanced Translation Editor.

Please note that this solution might be outdated or not applicable to your specific 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. If the problem persists, please do not hesitate to 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.

This topic contains 6 replies, has 2 voices.

Last updated by Andreas W. 6 months, 3 weeks ago.

Assisted by: Andreas W..

Author Posts
May 11, 2024 at 1:41 am #15616659

xiaoweiX

Hi,

hidden link is the French auto-translation of hidden link

As you can see, many of the menu links in the French version still points to the URLs in the English version.

What can I do to fix them, and how to make sure future translation updates convert the links correctly?

Thanks

May 11, 2024 at 1:42 am #15616660

xiaoweiX

The same problem happens to some of the footer links.

May 11, 2024 at 12:33 pm #15616986

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

Hello,

The menus will only show translated menu icons of all content is translated.

Once everything is translated, you can run WPML > WP Menus Sync and it will create the menu entries in each language.

Exception:
In some cases, you might be using custom menu items, which can not be synced.

You need to translate custom menu items at WPML > String Translation or translate them directly inside each menu at Appearance > Menus.

Please read this guide and let us know if you need further assistance:
https://wpml.org/documentation/getting-started-guide/translating-menus/

Best regards
Andreas

May 11, 2024 at 12:35 pm #15616987

xiaoweiX

The menu in the reported URL is an Elementor header. So is the footer.

May 11, 2024 at 3:41 pm #15617113

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

This does not look like an issue with the templates.

It is related to the menu translations. Could it be that all those menus use custom menu items? If so you will need to translate the URLs in WPML > String Translation or inside the translate menus directly.

Have you already tried to follow this guide?
https://wpml.org/documentation/getting-started-guide/translating-menus/

May 12, 2024 at 6:35 am #15617389

xiaoweiX

The header uses elementor menu, it is NOT wordpress menu.

May 14, 2024 at 12:06 pm #15625222

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

Thank you for your message and the provided details!

In this case, please try to translate the URLs when translating the header using the following method inside the Advanced Translation Editor:
https://wpml.org/documentation/translating-your-contents/advanced-translation-editor/#main-features-of-the-advanced-translation-editor

If this will not solve the issue, I can offer to take a look at the site as an admin user, for which I will enable a private reply form on my next reply so that you can provide access to the site.