Skip Navigation

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.

Tagged: 

This topic contains 2 replies, has 0 voices.

Last updated by frederickC 2 days, 7 hours ago.

Assisted by: Bigul.

Author Posts
March 31, 2025 at 8:46 pm #16880933

frederickC

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?

April 1, 2025 at 6:31 pm #16884344

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

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.

https://wpml.org/faq/how-to-translate-links/#translating-internal-links

hidden link

Also, increase *WP Memory Limit* to *256*(the minimum required memory limit for WPML is *128*). Please check the following links for more details

https://wpml.org/home/minimum-requirements/

https://wordpress.org/support/article/editing-wp-config-php/#increasing-memory-allocated-to-php

--
Thanks!

Bigul

April 1, 2025 at 6:38 pm #16884349

frederickC

Hi,

I had already tried both these things. When I search for http, nothing comes up.

April 2, 2025 at 11:36 am #16886673

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

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.

https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

hidden link

--
Thanks!

Bigul

April 2, 2025 at 6:39 pm #16888540

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

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.

https://wpml.org/documentation/support/multilingual-tools/registering-custom-elementor-widgets-for-translation/

https://wpml.org/documentation/support/language-configuration-files/how-to-register-page-builder-widgets-for-translation/

Please translate the Image URLs from WPML Translation Editor and ensure links work as expected.

--
Thanks!

Bigul

2025-04-03_00h03_25.png
2025-04-03_00h02_46.png
April 2, 2025 at 9:43 pm #16889237

frederickC

Hi Bigul,

Thanks, that's great, but the same doesn't work for Elementor Templates. Am I missing something ? I've folllowed the docs

03.jpg
April 3, 2025 at 1:11 pm #16892507

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,'

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.

--
Thanks!

Bigul

April 3, 2025 at 2:13 pm #16892837
frederickC

Hi, thanks for your help.

I did what you said but am now getting an error (see screenshot)

Here is the template in question : hidden link

New threads created by Bigul and linked to this one are listed below:

https://wpml.org/forums/topic/wpml-didnt-manage-to-translate-this-page-63/

Screenshot 2025-04-03 at 16.12.16.png
April 4, 2025 at 6:11 am #16895143

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

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.

--
Thanks!

Bigul

April 7, 2025 at 4:37 am #16902229

frederickC

Great thanks!