Home›Support›English Support›[Resolved] Internal Links in the Elementor Pro Default Text Editor are not being translated
[Resolved] Internal Links in the Elementor Pro Default Text Editor are not being translated
This thread is resolved. Here is a description of the problem and solution.
Problem: You are translating your site from English to Portuguese using WPML and Elementor Pro Text Editor. Although the Advanced Translation Editor (ATE) identifies and locks internal links with a message that they will be auto-translated later, the links still point to the English version after scanning. Solution: 1. Ensure that the link fields inside the ATE are locked. When they are locked, WPML will automatically apply internal redirections once the linked content is translated. If you unlock these fields, you must manually translate the URLs. 2. If you are using a text widget that includes an HTML link, WPML might not recognize this as an internal link, and you will need to manually translate it. This is because, currently, WPML handles link fields inside widgets automatically, but not HTML links within text fields.
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 issue persists, 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.
I have a few examples: hidden link
In this one I see the links are locked but still not translated on the resulting translated page.
Same here hidden link
If we can avoid resetting the whole translation, lets do that.
Also I am worried about the credits we already paid for. Would all of those credits be restored so we can retranslate?
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
In one example you are linking to: hidden link
The translation for this hotel is still saved as "Draft". It needs to be published to be able to link internally.
The same goes for the translation of these Experiences: hidden link hidden link
Another example you link to: hidden link
Here the original content shows a 404 error which means that this URL might be wrong already on the original content or the content was removed.
---
I would advise you to go through the lists of all posts and pages and use the language filter to see the content that was created in a second language. Check for their status and make sure to publish them.
You can do this using the Bulk option in WordPress.
Still has Internal Links in English. Is it that I need to retranslate the whole site now, update translations one by one? Or in bulk? Will that cost extra credits?
I published, deleted cache. Checked. Please advise
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Revising the links on your example post:
hidden link
and hidden link
These URLs led to a 404 on the original contents, which means this link is not correct or the content was removed.
You can see the issue is coming from the original content: hidden link
---
I finally found a non-working example:
hidden link
The translation for this experience is published now.
Here we have an example of a link that should redirect automatically, as it is locked on the Advanced Translation Editor.
To fix the internal links you need to go to WPML > Settings > Translate Link Targets and run the option "Scan now and adjust links".
I ran this dialog now, and somehow it does not solve the issue for the example above, which means that I will need to investigate further and ask you for some patience.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
No, please do not remove anything.
I will run some tests on a new WordPress Site with Elementor and WPML. I suspect that internal linking might not work if you use raw text with HTML inside an Elementor Text Widget.
I am not sure in this case if this is expected. I know it will work if using Gutenberg Blocks or the Classic WordPress Editor, but it might be that we do not yet cover Elementor text content for internal links.
I will try to recreate this issue and escalate it internally to verify this with the Second Tier Support.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
When running a test with Elementor and a text widget that includes an HTML link, I can see the link when opening the translation editor. See screenshot.
This means, that in this case WPML can not recognize this link as an internal link and the link needs to be translated.
You can access the test site here: hidden link
I see that our development is about to implement various changes regarding links in Elementor but so far it looks this way:
- If a link field is used inside a widget, it will be able to be handled automatically
- If a text field with HTML is used, it will not be handled automatically
I am consulting one of our devs regarding the upcoming changes and will then get back to you.
Also, I am having an issue with getting ATE to recognize a text field where I need to enter a shortcode for a slider. It doesn't show it to me during translation.
It shows on the custom fields in settings as locked and set to Translate, but does not show up so I can edit it during translation.