Home›Support›English Support›[Resolved] links to elementor popups revert to original language popups/links every time I update the page/tran...
[Resolved] links to elementor popups revert to original language popups/links every time I update the page/tran...
This thread is resolved. Here is a description of the problem and solution.
Problem: When linking to popups in Elementor, the links revert to the original language version each time the page or its translations are updated. Solution: We identified that this issue might be related to caching in Elementor. Clearing the cache in Elementor > Tools might temporarily resolve the display issues. However, for a more permanent fix, consider recreating the buttons that trigger the popups on your pages. Additionally, we have provided a workaround involving adding specific code to your functions.php file:
Please ensure to back up your site before applying this code. If this solution does not resolve your issue or becomes irrelevant due to updates, we 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 issues persist, 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:
Whenever I link to popups in Elementor, it seems I have to manually link to the translated version of those popups in each translated version of the page. Then, any time I make a change to the page and update the translations, those links revert back to the popups in the original language.
Symptoms:
Links to Elementor popups revert to the original language popups/links every time I update the page/translations.
Questions:
Is there any way to make those translated popup links 'stick' so I don't lose them every time I update the page/translations?
Hey, I didn't want to leave the live site "broken" so I restored my backup. I'm going to copy the live site to Dev and send you a new link/access for that, so you can tinker there...
I regret any inconvenience caused, but to proceed with troubleshooting, I kindly ask for a snapshot of the site. Alternatively, with your permission, I can create one myself. For this purpose, I typically recommend using the free plugin "Duplicator." If you're already familiar with Duplicator (https://wordpress.org/plugins/duplicator/), please skip the following steps and simply send me the archive file you downloaded.
To guide you further, please adhere to these instructions:
1. View the Duplicator instructions video: hidden link
3. If the archive file exceeds 400MB, please use Duplicator's file filters to exclude cache, wp-uploads directory, media, and archive files.
Once you have the archive file ready, kindly share the link with us. You can utilize platforms like Google Drive, Dropbox, or similar for file sharing, as the snapshot file might be large.
Please note that your next reply will be private, visible only to you and me. You can paste the file link there. Rest assured that once the issue is resolved, I will delete the local site.
Sure, you can try to create a snapshot of the dev site ( hidden link ) if that's what you mean -- I just tried and got a Host Build Interrupt error (see attached).
Thanks for your patience. I've successfully downloaded a copy of the site and I will investigate this further on our dev end and will come back to you as quickly as possible.
Thanks for the sandbox. So, not sure if you remember, the problem occurs when you make a change in Elementor to the original language page and then update the translations -- did you test after making a change and updating the NL translation? I tried to test that in the sandbox, but I can't even get my change to show in the translation. I changed the English button text to TESTING and updated the NL translation with "TESTING NL" as the translated button text, but the button still reads "Click here" on the NL page. I tried adding some text below the button too -- do you know why those changes don't seem to take on the translated page?
Ah, I see -- and did you set that NL popup by manually editing the NL page in Elementor, or were you able to somehow translate the link to that popup or set it some other way? Regardless, thanks for your efforts and here's another temp link to the dev site:
Hmm, maybe it's because I'm using the Edit Container > Additional Options > HTML Tag > a (link) to link the popups (see attached). I was able to recreate the issue that way on your test page. I reset it to Spanish so you could more easily recreate it yourself, if you want -- I think if you make a change to the English page and update the Spanish page, you'll see the Spanish container link/popup switch back to English.