Skip Navigation

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

Problem:
The client was experiencing issues with translating pages using Oxygen Builder after a recent update. When updating a page in one language, it would overwrite the content in another language.

Solution:
We identified that the problem might occur when editing a page in one language in one tab and updating the page in another language in a different tab. To resolve this, we recommended adding the following code to the

wp-config.php

file:

define('WPML_TRANSLATION_AUTO_UPDATE_ENABLED', false);

This code prevents automatic updates of translations when the original content is modified. We also directed the client to our documentation for further information: https://wpml.org/errata/page-builders-translated-content-is-overwritten-with-the-original-when-updating-the-original-post/

If you're experiencing a similar issue, we recommend trying the solution above. However, please note that this solution might be outdated or not applicable to your case. If the problem persists, 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 you still need assistance, please open a new support ticket in our forum: https://wpml.org/forums/forum/english-support/.

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 15 replies, has 2 voices.

Last updated by jose-miguelP 1 year, 4 months ago.

Assisted by: Long Nguyen.

Author Posts
January 27, 2024 at 11:47 pm #15233454

jose-miguelP

Hi, I think it's with the latest update of oxygen that it has become almost impossible to translate the oxygen. I tried the methods mentioned in WPML https://wpml.org/documentation/plugins-compatibility/oxygen-visual-builder/ but this doesn't work. However it display the ACF fields translation properly.

Thank

January 29, 2024 at 7:31 am #15236279

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Jose,

Thank you for contacting WPML support, I'd be happy to help you with this issue.

Currently, Oxygen builder is not fully compatible with WPML so you may encounter some issues when using this plugin and translating content on your site.

If you see it doesn't work with the Oxygen latest version, please help me replicate the issue on a clean installation of WordPress. You can access the admin area directly with this link
hidden link

Kindly follow the steps below:

- Don’t restore your site there.
- Install Oxygen plugin.
- Try to replicate the issue with minimal steps.
- Then let me know the steps to replicate it.

Look forward to your reply.
Thanks

January 29, 2024 at 10:49 am #15237415

jose-miguelP

Hi, thanks for responding, I have replicated the issue : hidden link

you can switch between spanish language and english language at the bottom you will see switch buttons, so to clarify :

I added a text via oxygen builder in english page saved , works as expected, but when I update my page through wordpress editor ( like updating titles etc ) it changes into the spanish version. You can check the link to further examine

January 29, 2024 at 12:32 pm #15238138

jose-miguelP

Hi, thanks for responding, I have replicated the issue : hidden link

you can switch between spanish language and english language at the bottom you will see switch buttons, so to clarify :

I added a text via oxygen builder in english page saved , works as expected, but when I update my page through wordpress editor ( like updating titles etc ) it changes into the spanish version. You can check the link to further examine.

January 30, 2024 at 2:33 am #15241330

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I followed those steps to update the text and page title in both English and Spanish languages but did not see that issue. Please check screenshots attached.

Can you please share a screen record of the steps you do on your end?

Look forward to your reply.
Thanks

Home - EN234 - Sandbox 2024-01-30 09-31-37.png
Home Spanish - Sandbox 2024-01-30 09-31-10.png
January 30, 2024 at 4:27 pm #15245611

jose-miguelP

Hi, here is the link of the video : hidden link

I think it happens due to the update button, let me know if you still need anything from my side.

Thanks

January 31, 2024 at 2:32 am #15246993

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I can replicate the issue with a new page. I suspect the issue occurs when you are editing the English page in a tab and updating the Spanish page in another tab. There is a notice message "Oxygen is open in another tab".

Then I add the code below to the file wp-config.php and not see the issue anymore

define( 'WPML_TRANSLATION_AUTO_UPDATE_ENABLED', false );

Refer documentation https://wpml.org/errata/page-builders-translated-content-is-overwritten-with-the-original-when-updating-the-original-post/

Can you please recheck this?

February 13, 2024 at 12:57 am #15295283

jose-miguelP

Hi, tried using it but it still doesn't work

February 14, 2024 at 1:42 am #15300010

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Are you checking the issue on your site? Because I see the sandbox site is expired. Can you please share a screen record of the issue on your site also? I suggest you edit, and translate the page in one tab and see how it goes.

If you want to try on another sandbox site, here is the URL hidden link

Look forward to your reply.
Thanks

February 14, 2024 at 2:24 pm #15302929

jose-miguelP

Hi, it's the same issue as before, here is the link : hidden link , basically it always disturbs the layout of other language pages.

February 14, 2024 at 2:26 pm #15302935

jose-miguelP

I can give you access to live site so you can take a look yourself.

February 15, 2024 at 2:38 am #15304801

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

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. Your next reply is set to private to share the info.

❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup: https://wordpress.org/plugins/duplicator/
✙ I would need your permission to de-activate and re-activate Plugins and the Theme to change configurations on the site if needed. This is also a reason the backup is critical.

Look forward to your reply.
Thanks

February 22, 2024 at 2:50 am #15330962

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I add the code above (https://wpml.org/forums/topic/oxygen-builder-always-overwriting-other-language-pages/#post-15246993) to the file wp-config.php and create a test page, try some steps as you do but don't see the issue. Here is a screen record on my end.
hidden link

Can you please share a screen record of the issue on your end?

February 22, 2024 at 2:11 pm #15333971

jose-miguelP

Hi, actually the issue mainly comes when you click on update from the edit page screen as I have many ACF fields loading on pages.

February 23, 2024 at 9:18 am #15336724

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Here is another screen record on my end, I update the page in Spanish language on the editing page hidden link

Can you please share a screen record of the issue on your end? I suggest you wait for a few seconds on the editing page to load all meta boxes and fields.

Thanks.