This thread is resolved. Here is a description of the problem and solution.
Problem:
You are experiencing an issue where the Divi Theme Builder content overrides all languages when you change one language. This problem persists even after following previous solutions.
Solution:
1. Check if your Divi templates/layouts are corrupted. If so, consider creating a new product template.
2. Translate the new templates using WPML -> Translation Management.
3. Deactivate outdated plugins and update the Divi theme to avoid conflicts.
4. Test the issue in a test site with only essential plugins and the Divi theme activated. Follow these steps:
- Keep WC and WCML inactive initially.
- Reproduce the issue with standard post types and theme builder templates.
- Activate WC and WCML, create test products, translate them, and check if the issue persists.
5. If the problem is specific to your site or certain post types, it might be due to database corruption. Try using a new template in a controlled environment as described.
If these steps do not resolve your issue or if the solution seems outdated or irrelevant to your 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 persists, please open a new support ticket at WPML support forum.
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.
Tagged: Exception
This topic contains 14 replies, has 2 voices.
Last updated by Waqas Bin Hasan 1 month, 1 week ago.
Assisted by: Waqas Bin Hasan.
Author | Posts |
---|---|
September 30, 2024 at 1:28 pm #16236411 | |
romainO-2 |
Background of the issue: Symptoms: Questions: |
September 30, 2024 at 1:39 pm #16236510 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Hi, Reference to our recent chat, after updating WordPress to the latest version, please try the solution provided in your previous ticket and let me know your findings. Regards. |
September 30, 2024 at 3:24 pm #16236976 | |
romainO-2 |
Hello The problem remains after updating WP ad DIVI. |
October 1, 2024 at 4:47 am #16238218 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thank you for the updates. I need to take a closer look at your site. So I request temporary access (WP-Admin and FTP), preferably to a test site where the problem has been replicated. Your next answer will be private, to share this information safely. Also provide detailed steps to reproduce the issue and links to pages in the admin and on the frontend. IMPORTANT: Please take a complete backup of the site to avoid data loss. I may need to activate/deactivate plugins also. See https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ for details on privacy and security. |
October 1, 2024 at 12:58 pm #16240612 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thank you for the access, I was able to login and have deactivated plugins except WPML, String Translation, WooCommerce and WCML. I've also switched to the parent Divi theme (after updating it). However, I'm trying to find which product body you're referring to, in hidden link. Can you please give me the edit link and write the steps you're doing to translate this? |
October 1, 2024 at 1:46 pm #16240894 | |
romainO-2 |
You can see this video : hidden link First problem : when I want to load the french version of the product body layout from the library, I only have access to english versions (as if the system though we were under the english language). |
October 2, 2024 at 7:02 am #16243461 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thank you for the updates, I'll check soon and 'll get back to you accordingly. |
October 3, 2024 at 5:50 am #16247876 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thank you for your patience and cooperation. I observed the issue in much detail and looks like there's problem with your existing Divi templates/layout. Looks like these are corrupted. I tried to fix some but without any luck. Apparently I also can not find any translation of these templates (see attached). Further, I then created a test template and added Header and Body layouts to it, translated these using WPML -> Translation Management and rechecked. Please see following recordings of my screen: Screencast 1: hidden link -> Showing Divi loading correct content. Screencast 2: hidden link -> How to translate the templates/layouts properly. More details at hidden link. So probably you should try with a new product template first and see if it works fine. Please also note that I had to deactivate several plugins in your test site, because a lot of these are out dated. The Divi theme was also outdated. So I'll recommend checking with only WPML, String Translation, WC and WCML. Or if you need to activate your plugins, update these first to rule out any conflict due to outdated versions. |
October 3, 2024 at 2:41 pm #16250746 | |
romainO-2 |
Hi Waqas, Thank you for your help. I have translated the body layout via the translation manager (image 1) and I have made several tests. The last one was creating in french a layout for baseball products (image 2) including this translated body layout (image 3). I have read your documentation and I thank you for sending it to me, but I need to ask for a confirmation as your guidelines for Divi theme builder translation process seamed to change several times over the past years. If I understand well, once I have created in the theme builder a layout whose body was well translated, no need to open the Theme builder in english version to replace the body in this layout by the english version ? The theme should display the english one automatically ? The only reason to go in the Theme builder in english version would be to modify the design (and not the translation), right ? Anyway, trying this I couldn't make the translation version display. Only the one loaded in the french version is displayed for both languages. Are you sure there are not settings that should be modified in the setting page ? (see attached) |
October 4, 2024 at 5:52 am #16252422 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thank you for the updates. That documentation is from the Elegant Themes and unfortunately we've no control over the changes for that. However, the process is the same as you see in the guide. Anyways, please allow me some time, I'm checking again and 'll also try to reproduce in one of our sandboxes. I'll update you accordingly. |
October 4, 2024 at 7:45 am #16252758 | |
romainO-2 |
ok thank you for your help |
October 4, 2024 at 7:47 am #16252774 | |
romainO-2 |
Feel free to make any change on the website as it is a copy. Even tests that could break the site, on deleting plugins... |
October 4, 2024 at 12:57 pm #16254282 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thank you for the updates, your patience and cooperation. I'm trying to reproduce the issue but without any luck. So I've created this sandbox site at hidden link (one-click login). Here I've configured WPML plugins and have activated Divi theme. Can you please take some time to reproduce the issue as following: - WC and WCML are inactive so keep these inactive for now. So we can assess: - if it is happening only in your site or can be reproduced elsewhere (specially in a fresh setup). I'll then debug further based on your steps and 'll be able to check with my (and escalate as needed). Please take your time and let me know when you're ready. I'll be able to check back on Monday, thanks in advance. |
October 7, 2024 at 9:07 am #16259862 | |
romainO-2 |
Hello, I couldn't replicate the issue on your server... |
October 7, 2024 at 1:21 pm #16261556 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thank you for the updates. I'm afraid there's been some DB corruption about your template as I suspect. Can you please try with a new one? And with only the plugins/theme active just like in the sandbox? |