Skip Navigation

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

Problem:
The client has a number of ACF fields, including a repeater field with an image subfield and a text subfield. The issue arises when trying to handle translations for these fields in a duplicated page.
Solution:
If you're experiencing this issue, we recommend setting the repeater field to 'COPY' if you want the changes in the default language to be copied or synced to the second language. This setting is necessary when the page is duplicated and you wish to add translations independently. For more detailed guidance on setting up your ACF fields with WPML, please visit our documentation on Recommended Custom Fields Translation Preferences for ACF and WPML.

Please note that this solution might be outdated or not applicable to your specific case. 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 the issue persists, please open a new support ticket.

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 1 reply, has 0 voices.

Last updated by Boris 1 week, 4 days ago.

Assisted by: Dražen.

Author Posts
November 28, 2024 at 2:30 pm #16455724

Boris

Background of the issue:
- I have a number of ACF fields, among which a repeater field with one image sub field and one text sub field.
- The repeater field is set to "translate", the image field is set to "copy" and the text field is set to "translate".
- I am using the WP Translation Editor for various reasons.
- When I create the translation by checking Duplicate, everything is working fine.
- When after that I add an entry in the repeater field, it is copied to the translation as intended.
- But when I open the translation and make any manual translation, the translation is saved with "translate independently".

Symptoms:
After making manual translations, the translation is saved with 'translate independently', causing new entries in the repeater field in the default language to not sync to the translation. This affects the image field set to 'copy'.

Questions:
How can I avoid the translation being saved as 'translate independently' after making manual changes?
OR
How can I ensure that changes to the post in the default language are synced to the translation if the fields are set to copy?

November 29, 2024 at 10:07 am #16458650

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

if the page is duplicated, in order for you to add translation you need to use "translate independently". Otherwise, it is justthe same duplicate/copy.

In this case,the repeater should be set to COPY if you wish for the same changes in the default language to be copied/synced to 2nd language.

- https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/recommended-custom-fields-translation-preferences-for-acf-and-wpml/

Regards,
Drazen

December 2, 2024 at 8:11 am #16464458

Boris

Hello Drazen,
that was indeed the solution! Thanks very much for your help!

Kind regards
Boris