Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is trying to translate their site to German, including webpage links that should redirect to other German-translated pages. However, the buttons and in-text links still point to the original pages instead of the translated ones. The issue involves Elementor content and a custom widget from Element Pack Pro.
Solution:
1. For links appearing in WPML > String Translation but not applying on the live site, ensure to manually translate them using the WPML Translation Editor. Use the search bar in the translation editor to find links by typing "http".
2. For content created with Element Pack Pro, such as Advanced Icon Boxes, a translation of links seems currently not possible, The author would need to adapt the XML configuration for such widgets to make it translatable. If you run into such an issue, please reach out to us and we will assist you on this matter.
3. Generally, if Elementor content does not appear in the WPML Translation Editor, you might need to create a custom XML configuration to ensure that Elementor widgets are properly registered for translation. You can find guidance on this at https://wpml.org/documentation/support/language-configuration-files/how-to-register-page-builder-widgets-for-translation/.

If these steps do not resolve your issue or if the solution seems outdated or irrelevant to your specific case, we recommend opening a new support ticket. We also 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. For further assistance, please visit our support forum at https://wpml.org/forums/forum/english-support/.

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.

This topic contains 6 replies, has 1 voice.

Last updated by williamG-26 1 month ago.

Assisted by: Andreas W..

Author Posts
February 26, 2025 at 7:50 pm #16753251

williamG-26

Background of the issue:
I am trying to translate our site to German, including links on the webpage that link to other pages of this same site. The issue can be seen on this page: hidden link. I expected the buttons toward the bottom of the page to link to their appropriate /de/ pages, and the 'kontaktieren Sie uns' text to link to the German translated page of our Contact Us form: hidden link.

Symptoms:
The buttons and in-text link still link to the original pages instead of the translated ones.

Questions:
Why are the internal links not translating to the German version?
What steps can I take to ensure the links point to the correct translated pages?

February 26, 2025 at 7:52 pm #16753257

williamG-26

For additional context, please note that steps that have been taken to troubleshoot include the following:

• Ensuring there is enough memory (WP_MEMORY_LIMIT is 1024M, PHP memory limit is 1024M)
• Changing links to Sticky Links
• Changing Sticky Links back to permanent links
• Clicking Translate Link Targets within WPML Settings
• Updated all links listed within WPML String Translation that reference our site to be pointing at the /de/ webpage
• Finding non-translated links within “Translate texts in admin screens” within WPML String Translation, selecting those links, clicking “Add to String Translation,” then translating them as needed

Thank you.

March 1, 2025 at 5:17 pm #16764268

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

You are using a custom widget from "Element Pack Pro".

If the URL is showing up inside the WPML Translation, then you will need to translate it manually.

It might be the case that you need to use the search bar of the translation editor to search for links with "http".

Can you confirm this please?

Best regards
Andreas

March 4, 2025 at 2:22 pm #16774630

williamG-26

Hi Andreas,

Thank you for your help. The buttons that are not translating are using Element Pack Pro. Is there a tool that can be used to identify which elements on my website are designed with Element Pack Pro?

The URLs seem to appear within WPML > String Translation, but those translations do not apply to the live site, even if manually translated to be the /de/ page.

Also, the in-text link on the page hidden link where it says 'kontaktieren Sie uns' is not using Element Pack Pro, yet it does not link to the correct /de/ page. What do you suggest we do about that?

Thank you.

March 4, 2025 at 6:36 pm #16775640

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

You can not translate Elementor content directly in WPML > String Translation.

The Elementor content should always be translated with the WPML Translation Editor. You can use the search bar of the translation editor to search for links, like by typing "http". Did you try this already?

---
To know which Element is involved I revised the the source code. The elements have the class "bdt-ep-advanced-icon-box" and a search leads me to:
hidden link

I can offer a WPML test site on which you can install the latest version of ElementPack PRO and I will be glad to create a solution for this issue for you.

Let me know if this would be possible.

March 4, 2025 at 8:45 pm #16775938

williamG-26

Most Elementor content appears within WPML > String Translation and can be edited without issue.

The WPML Translation Editor does not show any links that are within the Advanced Icon Boxes, it only shows the text on the page and other links that are not within an Advanced Icon Box. The solution I have found is to recreate all Advanced Icon Boxes with text boxes and buttons as needed.

Do you have any other ideas for editing the links within Advanced Icon Boxes? Or would you need the test site to look into it further? If you would need the test site, please let me know what information you require.

Thank you.

March 4, 2025 at 10:08 pm #16776077

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Yes, WPML String Translation saves the Elementor content to write it to the database, but you can not use String Translation to create the translations for the pages.

We can control what is sent from an Elementor Widget to the translation editor by creating a custom XML configuration.

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

I can assist you with creating such a config, but it would be ideal if you could install the add-on for this purpose on a test site which I will provide.

Would you be able to cooperate on this matter?

March 11, 2025 at 1:12 pm #16801822

williamG-26

My issue was resolved by replacing all instances of Advanced Icon Boxes with their normal Elementor equivalent (buttons, images, text boxes).
I was able to use String Translation to translate the text and links that were created in making these new buttons and text boxes.

Thank you for your help.