[Resolved] #popup on translated pages do not work ( popup not translated )
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is trying to open a non-translated popup on a translated page but is unable to do so. Solution: 1. Ensure that the Popup template's display rule is configured correctly. 2. Open the translated page in the Elementor Editor. 3. Edit the button that triggers the Popup and re-add the Popup. 4. Save the changes and check the front end. If the Popup template is not translated, it may need to be set up again for each language. Follow these steps: - Switch to the desired language from the WordPress dashboard. - Open the translated page in Elementor Editor. - Edit the button where the Popup is added. - Re-add the Popup following the instructions provided in the Elementor documentation.
I have checked and noticed that the popup is created using Elementor. From examining the WPML Debug information, I noticed that the Translation preference is configured as "Translatable - use translation if available or fallback to default language." This setting implies that if a translation is not available, the default language template will be displayed in other languages.
Given this configuration, the Popup template should be visible in other languages as well even if it is not translated. However, if you want the non-translated popup template to appear in translated pages, you might need to re-add the popup to the translated page. Please try the following and hopefully, it will help.
- Open the Popup template and make sure that the display rule is configured correctly.
- Now, please open the Translated page in Elementor Editor
- Edit the button and add the Popup again.
- save the changes and check the front end.
Please let me know if that helps or if you need further assistance in this matter. I will be happy to help.
Hi, Thanks for getting back.
"Given this configuration, the Popup template should be visible in other languages as well even if it is not translated"
This is not working but is the preferred result.
Hello There,
I hope you're doing well. Sorry for the delay in responding due to the weekend.
You are correct in your understanding. If you view the standalone popup template from Elementor Library, you'll see a language switcher that contains all the languages of your site. This indicates that the template will appear and work across various language versions of the site even if it is not translated.
However, Based on the fact that the popup template is not translated, for the popup to appear correctly on pages that are translated, we might need to set up the popup again for each language.
Please try and let me know the update. If you need further assistance, I'll be more than happy to assist you.
I can understand. Here's how you can add the popup to the Translated page:
- From your WordPress dashboard, switch to Swedish language
- Locate the Translated page and open that in Elementor Editor.
- Edit the Button where you've added the Popup.
- Add the Popup again by following the instructions mentioned here: hidden link
Let me know how it goes. I will be happy to help if you need further assistance in this matter.