Background of the issue:
We created a global element in the library module of the DIVI page builder. The element contains text and links and will be used on several pages of our site, hidden link. The translation was made with WPML directly in the library with automatic translation, and the translated strings were stored in the translation memory.
Symptoms:
The body text translates well and shows up when we open the new page in WPML, but the link translations are missing and need to be translated again. Additionally, the link frames are disappearing from time to time.
Questions:
What can we do to solve the issue of missing link translations?
How can we prevent the link frames from disappearing?
Languages: English (English )Spanish (Español )Italian (Italiano )
Timezone: Europe/Rome (GMT+02:00)
Hello,
I'll help you get started while a supporter takes your case.
From the screenshot, the link seems to be an external link, so those won't be translated unless you do that manually in the Advanced Translation Editor.
However, Internal links need to be absolute (hidden link instead of /slug) and they will not appear as translated in the translation editor but instead should translate in the front-end directly.
If that's not the case, then try to go to WPML -> Settings -> Translate Link Targets section and click on "Scan now and adjust links" to see if that works.
Make sure you clear both page and server cache before and after the procedure to make sure it works correctly.
Let us know if that doesn't work and if that's the case, please send us a reference page where the global element is used on and let us know where's the link is. Lastly let us know the name of the global element (and if the part with the link uses a specific Divi element).
You say we need to translate the links manually in the front-end? That can not be the case, we are doing a library element because we are planning to use that specific element on 5-10 pages. We have a website with 4 languages. Sorry but this must be a misunderstanding.
You can find the element on this page: hidden link
The headline is: Do you have any questions?
The name of the library element is: r_download_dokumente
Thank you for contacting WPML support, I’m happy to help you with this issue.
Sorry for the delayed response - it has been a full queue for the past few days and it can take a bit longer to respond.
I suggest you edit the page in German (original) language > make a small change to the page content > save > update the translation and clear all caches (plugin, browser ...) then check the translation page content again.
If it does not help, I would like to request temporary access (wp-admin and FTP) to your site so I can take a better look at the issue. It would be better to have a testing site where the issue is replicated. Your next reply is set to private to share the info.