Skip to content Skip to sidebar

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: 

This topic contains 1 reply, has 0 voices.

Last updated by nuriaD 5 months ago.

Assisted by: Otto.

Author Posts
June 2, 2025 at 12:49 pm #17097957

nuriaD

Background of the issue:
I am trying to translate DIVI theme builder components, specifically the Global Header and Footer. I have set the WPML settings for Header Templates, Body Templates, Footer Templates, and Theme Builders to 'Translatable only show translated items'. I am using the Legacy translation editor and also have WPRocket installed. The issue can be seen on this page: hidden link.

Symptoms:
When I edit the theme builder in one language, the changes affect all languages, resulting in the same content being displayed in all languages instead of a translation for each language.

Questions:
How can I ensure that changes in the DIVI theme builder do not affect all languages?
Is there a specific setting in WPML that I need to adjust to achieve separate translations for each language?

June 2, 2025 at 5:25 pm #17099075

Otto
WPML Supporter since 09/2015

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Divi’s Theme Builder saves each header, body, and footer layout as a custom post type called et_theme_builder. If that post type is set to “Translatable – use translation if available or fallback to default language,” every edit you make in one language updates the same post, so all languages show identical content. The remedies are to (a) duplicate or translate those layout-posts per language using WPML’s Translation Management, or (b) declare the post type Not Translatable and create one independent template for each language. Make sure to clear Divi’s Static CSS and any WPRocket caches after every change to avoid seeing an out-of-date header/footer.

Solution A – Translate the existing global templates (recommended)
• Go to WPML → Settings → Post Types Translation. Ensure Theme Builders (et_theme_builder) is Translatable – only show translated items (your current setting).
• In the default language, visit Divi → Theme Builder and create or edit the Global Header/Footer.
• Save, then go to WPML → Translation Management, filter by Theme Builder Templates, select the new header/footer, and send it for translation.
• Open each translation in the (Legacy) Translation Editor, translate or duplicate, and mark it 100 % complete.
• Clear Divi → Theme Options → Builder → Clear Static CSS, purge all caches in WPRocket, and test.

Solution B – Separate templates per language (quick workaround)
• In WPML → Settings → Post Types Translation, set et_theme_builder to Not Translatable and save.
• In Divi → Theme Builder, clone the Global Header/Footer; assign the clone to the secondary language via the language switcher (top admin bar ► “+” icon).
• Edit each language’s template independently; because they are separate posts, changes in one will not affect the others.
• Re-assign display conditions if needed and clear caches as above.

Here you have detailed documentation:
hidden link

Best Regards,
Otto

June 6, 2025 at 10:48 am #17113647

nuriaD

Hi Otto,
I did Solution A, and it worked.

Thank you,