[Resolved] Links are not updating to the translate language
This thread is resolved. Here is a description of the problem and solution.
Problem:
Some links in the Elementor widget were not updating in the page translation and remained in the default language.
Solution:
We registered the Elementor widget for the Image Hover effect element using the WPML Compatibility Test Tools plugin. Here are the steps we followed:
1. We added the following custom XML configuration code to WPML -> Settings -> Custom XML Configuration:
Can you please try the following and see if it helps:
1. Edit the page with the issue in the primary language, make a small change to the page content or title, update it then try to edit the translation and complete it.
2. If it does not fix the issue, edit the translation again, and in the translation editor search for "http" or the URL of the button link from the top search box and see if you can then translate the link manually.
3. If it still does not work, can you please let me know more details on how exactly are those buttons and links built? Also if you could please share the page URL where I can see the issue it would help me further understand the issue.
Thank you for the updates. I would need to take a closer look at your site to troubleshoot the issue further. So would you please mind sharing temporary access (WP-Admin and FTP) to your site? Preferably to a test site where the problem has been replicated.
I have enabled a private reply for you to share the credentials securely, which means only you and I have access to it.
IMPORTANT: Please take a complete backup of the site first to avoid data loss.
Furthermore please let me know the pages/URLs where I can see the issue.
✙ I would additionally need your permission to make a copy of the site with plugins like Duplicator and deploy it on my local machine to test the issue further.
The FTP details work fine but wp-admin credentials do not seem to work. I don't see any error only the screen as the attached image here. Can you please recheck the details then reshare the working details again?
I have enabled the private fields for you to share the details again securely.
I placed the code at WPML -> Settings -> Custom XML Configuration and the issue seems to be resolved now after I updated the Homapage in the primary language then edited and completed the translation.
1- Howerver, I have added this widget to many pages: hidden link hidden link hidden link hidden link hidden link hidden link (2-witch top menu doesn't translate from french to english - Another issue to solve - See the attached also)
3-I have follow the link you provided, I cannot see the section page labeled WPML: ELementor Widget XML code. (as in the attached)
4-One last question, I do not use a child theme so after a update will I loose these changes??
Thanks
Pierre
New threads created by Subash Chandra Poudel and linked to this one are listed below:
1. For the new settings to take into action and the URLs to properly translate in the Widgets, please follow the following steps on the pages that are having this issue:
- Edit the page with the issue in the primary language, then update it will a small change in the title or content so as to trigger a translation update.
- Edit the translation and complete it.
2. Please note we try to handle only one issue per ticket, so I split the issue into a new ticket where we can handle the issue with the Language Switcher.
3. As explained in the document that I linked also linked next you need to Install the Multilingual Tools plugin to see the section. However, it should no longer be required as I already did the setup with the XML for you to support the Image Hover effect element
4. The only change made was placing the XML code as explained in my previous reply linked next at wp-admin -> WPML -> Settings -> Custom XML Configuration. So updating the theme should not affect the issue.
Since Subash has a few days off, I will replace him here in the forum. I hope this is OK for you.
Please let me know which part of the mentioned pages are not translated.
I checked the pages, and the missing items on the English pages are the products. When checking the products in your dashboard, you don't have translated products yet.