Home›Support›English Support›[Resolved] Register elementor container widget link, String translation of pages and posts
[Resolved] Register elementor container widget link, String translation of pages and posts
This thread is resolved. Here is a description of the problem and solution.
Problem: The client needs to translate links added to an Elementor container widget and is facing issues where the links are not visible in the editor and point to incorrect translations. Previously, the links were visible in String Translation, but they disappeared after an update. Solution: We recommend the following steps to resolve the issue: 1. Remove the XML you have added to the container element link field. 2. Open the default language page in Edit mode. 3. Make a small change, such as adding a space or a '+' sign in your page/post title. 4. Update the page by pressing the “Update” button. 5. Remove the small change made in step 3. 6. Update the page again. 7. Open the translated page in WPML Translation Editor, ensure the translation is 100% complete, and press the complete translation button. If the issue persists, take a backup of your site and press the “Scan now and adjust links” button from WPML >> Settings page.
Please note that this solution might be outdated or not applicable to your specific 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 problem continues, 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 need to translate links added to Elementor container widget on my site hidden link. I am using XML to register the widget: link>url.
Symptoms:
Links are not visible in the editor and point to wrong translations. Previously, I could see links in String translation, but after an update, there are no links anymore.
Questions:
What is the problem and how can I translate those links?
Why can I not see strings of translated pages and posts in String translation?
Could you please try to follow the below steps and see if this resolves the issue:
1. Edit the default language page in Elementor page builder.
2. Click on the “Dynamic Tags” link as you can see in the Attached screenshot.
3. Choose the “Internal URL” option.
4. Next, choose the Internal URL type as “Content”.
5. Search the page by title and select the required page.
6. Save the changes.
I tried these steps on a fresh WP site and it seems to point to the translated pages correctly.
Example page link: hidden link
Here is an auto login URL of fresh WP site: hidden link
Could you please let me know if this resolves the issue or if you need further assistance with this issue.
Thank you, yes, with pages this approach works and points to the correct translated page.
However, in one case, the container link points to the archive page of custom post type, and this link I could not insert using dynamic tags.
So it means, container links cannot be translated directly using String translation, and if dynamic tags cannot insert the link, this link is simply not translatable?
Our 2nd tier said, XML is not needed to translate the container element links and the internal links point to the translated pages automatically. So, please try to follow the below steps:
1. Remove the XML if you have added it to the container element link field.
2. Open the default language page in Edit mode.
3. Make a small change, for example, add a space or + sign in your page/post title.
4. Update the page by pressing the “Update” button.
5. Now, please remove that small change that did in step #2.
6. Update the page again.
7. Now, please try to open the translated page in WPML Translation Editor and make sure the translation is 100% complete and press the complete translation button.
If the issue persists, please take a backup of your site and press the “Scan now and adjust links” button from WPML >> Settings page as you can see in the attached screenshot.
I tested the above steps at a fresh WP site and it seems to be working correctly there.
Example page link: hidden link
Here is an auto login URL of fresh WP site: hidden link
Could you please let me know if this resolves the issue or if you need further assistance with this issue.
Great! I'm glad to hear that the links are now pointing correctly. If you need any further assistance, feel free to reach out. Have a great day!
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.