Skip Navigation

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

Problem:
The client was experiencing issues with translating individual links in the menu. While the pages were translating correctly, custom links such as "Unterkünfte" or "Über uns" were not translating and were directing to the wrong language version.

Solution:
We directed the client to our guide on translating menus and custom links: https://wpml.org/documentation/getting-started-guide/translating-menus/#translating-custom-links-after-wp-menus-sync

Next, we suggested the client to adjust the links to point to the correct language version by:
1. Going to WPML -> Settings.
2. Clicking on "Translate Link Targets".
3. Clicking the "Scan now and adjust links" button.

Finally, for links within Elementor templates, we instructed the client to:
1. Switch to the desired language.
2. Edit the page with Elementor.
3. Click on the element that contains the link.
4. Change the link address in the element settings.

We advised the client to follow these steps for each link that needed translation and to check if the issue was resolved.

If the provided solution does not apply or is outdated, or if further assistance is needed, we recommend opening a new support ticket. We also highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that the latest versions of themes and plugins are installed.

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 Marsel Nikolli 10 months, 1 week ago.

Assisted by: Marsel Nikolli.

Author Posts
January 30, 2024 at 2:42 pm #15244532

marcoL-85

It doesnt translate the indivduall Links to in the menu, only the pages.

In the screenshot you can see that "Unterkünfte" or "Über uns" doesnt translate

Screenshot 2024-01-30 at 15.40.56.png
January 30, 2024 at 4:05 pm #15245569

Marsel Nikolli

Hi,

Thank you for contacting WPML Support, I will be happy to help you.

In order to expedite handling your support requests, can you please share WPML support debug information from your site?

* To provide the debug information:

- Go to WPML -> Support, in there click on the “debug information” link at the bottom of the page.
- Once on the “debug information” page, select the entire text box content and copy it.
- Go back to our support forum, find the debug information box, and paste it.
More information on the link: https://wpml.org/faq/provide-debug-information-faster-support/

---

You can find detailed information on how to translate menus and how to translate custom links on this guide:
https://wpml.org/documentation/getting-started-guide/translating-menus/#translating-custom-links-after-wp-menus-sync

Let us know if you need further assistance.

Regards,
Marsel

January 31, 2024 at 2:08 pm #15249680

marcoL-85

How to change the right link to the right language? The menu works, but the other links still send me to the wrng language

January 31, 2024 at 4:16 pm #15250339

Marsel Nikolli

Hi,

Could you please share a screenshot to which links are you referring?

In order to make the links inside the posts point to the correct language you would need to go to WPML -> Settings -> Translate Link Targets, and click the button "Scan now and adjust links".

After the scan is finished please check if the issue persists.

Looking forward to your reply,
Marsel

February 2, 2024 at 2:12 pm #15259649

marcoL-85

This button f.e. - all the buttons and links. Even if i translate the links (what you mentioned before)

Screenshot 2024-02-02 at 15.11.44.png
February 2, 2024 at 5:34 pm #15260606

Marsel Nikolli

Hi,

In order to investigate this issue and understand it better, I would need a temporary access to your website, access to your site's WP-admin (please create a temporary administrator user using any email address you wish).

Please make a full backup of your site (files and database) and confirm it in your next reply.

Your next reply is set to private for you to provide the username and password details.

Thanks,
Marsel

February 5, 2024 at 1:22 pm #15266306

Marsel Nikolli

Hi,

Thank you for providing the access on the website.

I was able to check further and links like the one that you showed me on the image attached before needs to be translated on the Elementor template of the page that link is showing up.

I did a test with the button on the main slider on homepage:
- I switched to english (you'll need to switch to each language)
- edited the page with Elementor
- clicked on the button element
- changed the address of the link on the button settings
(please check attached image for a better idea)

Please try following the same steps for the other links you need to translate.

Please check if this works for you or if you have any questions please let me know.

Regards,
Marsel

elementor-link.png
February 5, 2024 at 4:27 pm #15267328

marcoL-85

okay thank you, would be nice if this would work automatically