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.
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?
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 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?
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.
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.
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.
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.
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.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.