Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 13:00 9:00 – 13:00 9:00 – 13:00 8:00 – 12:00 8:00 – 12:00 -
- 14:00 – 17:00 14:00 – 18:00 14:00 – 18:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Europe/Zagreb (GMT+01:00)

Tagged: 

This topic contains 12 replies, has 2 voices.

Last updated by Bruno Kos 3 weeks, 2 days ago.

Assisted by: Bruno Kos.

Author Posts
October 22, 2024 at 11:40 am

pascalS-9

Background of the issue:
I am trying to use WPML to translate links on my site hidden link. I used auto-translation for many links on a page, but they are not changing to the translated page version based on the language.

Symptoms:
Links are not getting translated and not changing to the translated page version. The 'Translate Link Targets' feature doesn't fix the issue.

Questions:
How can we fix the problem of links not translating to the correct language version?

October 22, 2024 at 12:00 pm
October 23, 2024 at 6:18 am #16319968

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

On this sandbox:
hidden link

Can you create one Beaver Builder element similar to the one you're using for this button and add the link in the same way? Does it show in translation editor?

We think this to be compatibility issue and will see about creating XML that would automatically translate them.

October 23, 2024 at 9:04 am #16320842

pascalS-9

Hello, and good day,

I have created the 3 main ways we usually have links and buttons on our pages.

One photo with a link *(absolute URI and without no absolute URI)
One line with an "a" tag in the text or HTML code *(absolute URI and without no absolute URI)
button *(absolute URI and without no absolute URI)

Here is the link to the page:

hidden link

October 23, 2024 at 11:26 am #16321462

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

Thank you for the test!

This has been escalated to our Compatibility team and may take some debugging time, I'll get back to you as soon as I have any news or questions for you.

October 29, 2024 at 8:48 am #16340775

pascalS-9

Hello, and good day,

Any update on the problem?

Thank and Regards

October 29, 2024 at 11:25 am #16341711

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

The URLs you provided are not valid internal links on your website. WPML interprets these as external URLs that require translation since they don’t match your site’s internal structure. It seems you’re adding URLs that don’t actually exist on your website and expecting WPML to translate them.

For instance, your site’s URL is **hidden link, yet the button link is **hidden link. This mismatch indicates that the links point to a different site, which WPML cannot process as an internal link.

On the sandbox, find it here hidden link, where these URLs translate automatically as we have hidden link now.

I apologize for not catching this distinction earlier, as the "tokyo" in the URL signals a separate site.

Let me know if you have any questions related to the above!

October 29, 2024 at 3:29 pm #16343248

pascalS-9

Oh yes you are right since this is a copy of the main website and the person who made the content hardcoded the links with the URL most of them are not working but we also have one button that is from the same URL "tokyo".
check the button with the text "See All Blog Posts" I also added a screenshot

Screenshot 2024-10-29 162822.png
October 30, 2024 at 5:42 am #16344700

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

Can you tell me if you changed the password for this site? I can no longer access to hidden link.

October 30, 2024 at 9:29 am
October 30, 2024 at 2:02 pm #16347614

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

The page "Posts" only has a German translation: hidden link

And on German translation of the home page, it seems to be working:
hidden link

October 30, 2024 at 3:26 pm #16348087

pascalS-9

I checked with the content team, and that one was translated manually.
We didn't use autotranslation to translate the DE; all the content has been translated manually.

October 30, 2024 at 5:14 pm #16348702

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

I see, but the URL for "See All Blog Posts" was translated automatically, it doesn't appear in translation editor.

no posts.jpg
November 4, 2024 at 10:51 am #16360305

pascalS-9

Ok so in that case tomorrow we are starting with the production website and I will get back to you if the problem is still there.
Thanks you

November 4, 2024 at 1:52 pm #16361367

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

Ok, let me know if you have any questions.

The topic ‘[Closed] Links are not getting translated and not changing to the translated page’ is closed to new replies.