Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
If you're experiencing issues with translating a product template body in the Divi Theme Builder, where changes apply to all languages instead of just one, or if your footer appears in English on both language versions without any recent modifications, follow the steps below.
Solution:
First, ensure that you are working in the correct language environment:
1. Go to Divi -> Theme Builder.
2. Switch the language to the one you want to edit (for example, English).
3. Add or modify the custom body template.
4. Save the changes.
If the problem persists, check your WPML settings:
1. Navigate to WPML -> Settings -> Post Type Translation section.
2. Set the "Theme Builders (et_theme_builder)" to "Not Translatable".
3. Click "Save".
4. Return to Divi -> Theme Builder.
5. Add or select the templates you wish to use.
6. Save your template.
7. Translate the templates using WPML -> Translation Management.
By setting the 'et_theme_builder' post type to 'Not Translatable', you prevent the issue of a single language change affecting all languages.
If this solution doesn't look relevant to your 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.

This topic contains 9 replies, has 2 voices.

Last updated by Osama Mersal 4 months, 1 week ago.

Assisted by: Osama Mersal.

Author Posts
December 4, 2023 at 8:07 am

romainO-2

Divi Theme Builder content overrides all the languages when changing one language

December 4, 2023 at 10:24 am
December 5, 2023 at 9:41 am #14994987

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

I need your permission to install the Duplicator Pro plugin to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

December 5, 2023 at 9:50 am #14995053

romainO-2

Hi,
Yes you can. You can also use All in one WP migration which is already installed and recent backups available (so that you can spare the archive creation time which lasts for long).

December 5, 2023 at 11:32 am #14996371

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for your permission. Please check the following steps:

1- Go to Divi-> Theme builder
2- Switch the language to English (hidden link)
3- Add the custom body template
4- Save

Please let me know if the above steps fixed the issue.

Best regards,
Osama

December 5, 2023 at 1:11 pm #14997619

romainO-2

The template I want to load is called "corps produit EN3" (translation of "Corps produit FR3") and I cannot see it in the library.

Capture d’écran 2023-12-05 à 14.10.53.png
December 5, 2023 at 1:21 pm #14997833

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

I added the English template. Please check if it works correctly.

Best regards,
Osama

December 5, 2023 at 1:33 pm #14998339

romainO-2

Yes it's ok. Thank you.
Can you explain how you did to load this template ?
Also, I was finally able to load the french footer and this time it did not overwrite the english footer too. What have you changed to make it work ? This problem often occurs, it's important for me te understand what was wrong.

December 5, 2023 at 1:37 pm #14998347

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

1) I saved the body template to the library and added it to the theme builder.

In order to save a body template to the library, please check the following steps:

1- Go to this page (hidden link)
2- Edit the body template
3- Save it to the library

2) I didn't edit the footer template, but maybe saving the theme builder fixed the issue.

Best regards,
Osama

December 5, 2023 at 1:54 pm #14998657

romainO-2

Few questions please :

- From where can you reach this page ? (from the menu) : hidden link

- The way you proceed to apply template translation in the theme builder was the old method. The last WPML supporter (Christopher Amirian) provided me this guide with a new method which was not working (just translating the template but not applying manually to english theme builder) : https://wpml.org/documentation/theme-compatibility/divi-builder/#translating-custom-global-header-footer
Do you confirm this method is not working and we have to keep on using the old one ?

December 5, 2023 at 2:02 pm #14998709

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

1) This page can't be reached from the menu. Here are the URLs for header, footer, and body templates.

Footer: yourdomain/wp-admin/edit.php?post_type=et_footer_layout

Header: yourdomain/wp-admin/edit.php?post_type=et_header_layout

Body: yourdomain/wp-admin/edit.php?post_type=et_body_layout

2) The new method works correctly when the "et_theme_builder" post type is set to be not translatable, which is the recommended setting.

However, the "et_theme_builder" post type on your site is "Translatable - use translation if available or fallback to default language". (Kindly check the attached screenshot)

In order to work with the new method, please check the following steps:

1- Go to WPML-> Settings-> Post Type Translation section
2- Set the "Theme Builders (et_theme_builder)" to "Not Translatable"
3- Click "Save"
4- Go to Divi-> Theme Builder
5- Add the templates
6- Select the body template
7- Save it
8- Translate the templates via WPML-> Translation Management

Best regards,
Osama

December 5, 2023 at 2:18 pm #14999175

romainO-2

Ok thanks.
I will apply the new method for next sites.
Have a nice day.

romainO-2 confirmed that the issue was resolved on 2023-12-05 14:18:53.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.