This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is trying to translate links in the content of an Elementor page, specifically for images, but the links go to the original untranslated pages instead of the expected translated pages.
Solution:
If you're experiencing this issue, we recommend you follow these steps: 1) Navigate to WPML>>Settings>>Custom XML Configuration. 2) Add the WPML language configuration for the Elementor Widgets. 3) Save the changes. 4) Update the Homepage. Additionally, please refer to our documentation for more detailed guidance:
Make sure to translate the Image URLs from the WPML Translation Editor and ensure the links work as expected.
Please note that this solution might be irrelevant if it's outdated or not applicable to your 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.
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.
Background of the issue:
I am trying to translate links in the content of an Elementor page, specifically for images. The issue can be seen on this page: hidden link. I expected that clicking on wine bottle images or logos would navigate to the corresponding page in the active language, similar to how it works when clicking the title underneath, which was done using Translate Link Targets.
Symptoms:
Links go to original untranslated pages instead of the expected translated pages.
Questions:
Why are the links not translating as expected?
How can I ensure that image links navigate to the correct translated pages?
Welcome to the WPML support forum. I will do my best to help you resolve the issue.
We hope you are using WPML Advanced Translation Editor for translating the posts and pages.
If so, please open the English Homepage translation for editing in WPML Translation Editor and search for *http*, then check if the missing links are showing for translation or not. Refer to the following docs for more details.
Thank you for the updates. A couple of requests for tracking the issue.
1) Please share the links that are not appearing for the translation. It would be great if you could share a couple of screenshots for a better understanding of the issue.
2) Please fill the private details fields after a full site backup. I would like to access the admin area of your site for further checking. Refer to the following links for more details about our private information sharing policies.
Thank you for the updates. I am getting the expected after the following steps.
1) Visit WPML>>Settings>>Custom XML Configuration
2) Add the WPML language configuration for the Elementor Widgets
3) Save the changes
4) Update the Homepage
Refer to the attached images and the following documentation for more details.
Thank you for the feedback. Please update the Elementor template (in the original language) after a minor edit in the contents to refresh the translation settings.
Then, open the template translation in WPML Advanced Translation Editor and search for the links.
If the problem remains, please share the URL of the Elementor template or its name for further checking.
Thank you for the updates. I have added a new ticket for the *WPML didn't manage to translate this page* issue. Becuase it will help us avoid discussing multiple things in a single ticket. Thank you for your kind understanding.
I will get back to you soon in the latest ticket. Please wait.