[Resolved] Issue with edit translated theme in divi theme buider
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is using the Divi theme and Divi theme builder to design specific pages such as My Account & Cart page in both Arabic and English. They are facing an issue where changes made to the theme in one language are also affecting the other language. Additionally, after translating the user account page and refreshing, the translation does not appear to be saved. Solution: Firstly, if the Body Template has already been translated, we recommend manually editing the translated version by accessing it through the
et_body_layout
post type in WordPress. Here are the steps: 1. Log in to your WordPress Admin panel. 2. Add `/wp-admin/edit.php?post_type=et_body_layout` to your domain in the URL bar to access all Body layouts. 3. Switch to the language of the translated layout. 4. Find and edit the translated Body template as needed.
If the issue persists, follow these additional steps: 1. Empty the Divi Cache. 2. Go to WPML > Support > Troubleshooting. 3. Select "Body Layouts" from the dropdown in the Cleanup section, then choose "Synchronize posts taxonomies". 4. Click on additional options: Clear WPML Caches, Language information, and Adjust post-type assignment for translations. 5. Translate the layout via the
et_body_layout
post type.
After these steps, the Arabic translation should be properly saved and displayed. If this solution does not resolve the issue, please open a new support ticket with us.
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.
Hi, we use Divi theme and divi theme builder to design specefic pages like My Account & Cart page.
We have two langueges in our website there are Arabic & English.
Our problem is that in my account page and cart page we can not edit the Arabic vertion of this pages.
In the Divi > theme builder If we change theme in the Arabic, it will also change in English and if we change theme in the English, it will also change in Arabic.
As you can see in the screen shots we translate this themes in WPML > Translate management.
what should we do to solve this problem?
I understand what you're looking for. Please be informed that it is not possible to Manually edit the translated template from Divi > Theme builder. Since the same template is used across different languages (with only the content being updated when translated), any manual edits made to the translated template will also be reflected in the other languages as well.
Now, if you want to use a different layout in a secondary language template, please follow the instructions outlined here: hidden link
I hope it will help. Please let me know if you need further assistance in this matter. I will be happy to help.
I have seen this tutorial before, but the problem is that I could change the themes in the theme builder in any language in the same way, i.e. translating the template.
For example, I was making changes to the theme builder on my account page that would only apply to the language I had selected.
But now the changes are only applied to the header and footer, that is, in each language I can change the header and footer separately, but the body cannot be changed for each language.
If the Body Template has already been translated, you can manually edit the translated version by accessing it through the "et_body_layout" post type in WordPress. Would you please try to edit the translated template from the post type and check if that helps to solve the issue? Here are the steps to do so:
1. Log in to your WordPress Admin panel.
2. In the URL bar of your browser, add the following path after your domain name: `/wp-admin/edit.php?post_type=et_body_layout`. For example, it would look like `hidden link`.
3. This will display all the Body layouts you've created. To edit the translated layout, switch to the language in which it's translated.
4. Find the translated Body template, open it, and make the necessary changes as per your requirements.
Please let me know if that helps or if you need further assistance in this matter. I will be happy to help.
I did this, but as you can see in the screenshot, after translating my user account page and refreshing the page, the plus sign appears again, as if the page was not translated!
I repeated this several times and translated the page, but upon refreshing the page, the plus sign appeared again and the translation was not added in the Arabic section!
Hello There,
I hope you're doing well. Sorry for the delay in responding I was unavailable due to the weekend and a holiday.
Since the issue persists, a closer inspection will be required to understand the root cause.
I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated.
You will find the needed fields below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.
Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.
IMPORTANT
-Please backup site files and database before providing us access.
-If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link
Looking forward to your response and wishing you a Merry Christmas!
Hi There,
Thank you for sharing the access information.
I have checked and found that the translation for the Layout seems to be deleted but, it remained synchronized with the default template, which was mainly causing the issue. However, after trying the following steps, I was able to effectively translate the Layout within the Body_layout post type.
- Emptied the Divi Cache
- Navigated to "WPML > Support > Troubleshooting"
- Chose "Body Layouts" from the dropdown in the Cleanup section, then select "Synchronize posts taxonomies"
- Clicked on additional options: Cleared WPML Caches, Language information, and Adjust post-type assignment for translations
- Proceeded to translate the layout via the "et_body_layout" post type.
After completing the translation, I repeatedly refreshed the page and can now verify that the Arabic translation consistently appears. Please check and you should now be able to customize the Arabic template as per your needs.
Feel free to let me know if there is anything else you need help with. I will be happy to assist.