Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 3 replies, has 2 voices.

Last updated by Long Nguyen 1 year, 4 months ago.

Assisted by: Long Nguyen.

Author Posts
December 19, 2023 at 1:07 pm #15092789

danM-2

I am trying to:
Modify the order of ACF flexible content of the default language (English) version of a page

Link to a page where the issue can be seen:
hidden link
hidden link

I expected to see:
Content for the translated versions of the page should not change

Instead, I got:
Some ACF fields in the translations lose their values and as a result two of the columns in the "Ceci peut également vous intéresser" module are lost

We’ve encountered an issue where changing ACF flexible content fields in the original language has unexpected consequences in all the translated versions of pages.

There seem to be many things which trigger this but in this case I've moved the embedded video above the "Fair facts & figures" three column module in the English page and the result is that all other translations of the "You may also be interested in:" three column module lose values for some of their fields.

We’re using wpml_cf_preferences values of 2 (translate) for text fields and 3 (copy once) for all other fields like clones, images and selects etc. We’d expect that making changes which don’t involve text fields on the original page should not have any effect on the translated pages.

fr-appearance-after-en-changes.png
fr-appearance-before-en-changes.png
December 21, 2023 at 6:51 am #15106867

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

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

Hi Dan,

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

According to the debug log, I see you are using the Advanced Translation Editor to translate the content on your site. So I suggest you change the translation preference of the Flexible Content field to "Copy" (wpml_cf_preferences = 1) and other fields, except the Text field.
If you use "Copy Once", then you should use the WordPress editor to add the field manually when editing the translation page.

Please read more in the documentation
https://wpml.org/documentation/getting-started-guide/translating-custom-fields/
https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/

Look forward to your reply.
Thanks

December 21, 2023 at 10:05 am #15108433

danM-2

Hi thanks for the reply.

We initially used the Advanced Translation Editor to translate the content, but after the initial translation we now make all edits to existing pages manually (we also translate new pages manually).

We want to avoid the situation where making a change to the English page affects the translated pages. Is it correct that we are using "Copy Once" in this situation?

Dan.

December 22, 2023 at 2:12 am #15113647

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

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

Hi,

Yes, if you are using the WordPress editor to translate the page manually, you can use the preference "Copy Once" or "Translate" for all fields.
If the issue persists, please try to 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 ACF (Pro) plugin.
- Try to replicate the issue with minimal steps.
- Then let me know the steps to replicate it.

Look forward to your reply.
Thanks

The topic ‘[Closed] Changing ACF flexible content in default language changes content in translation’ is closed to new replies.