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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 -

Supporter timezone: Asia/Dhaka (GMT+06:00)

This topic contains 17 replies, has 4 voices.

Last updated by Prosenjit Barman 12 months ago.

Assisted by: Prosenjit Barman.

Author Posts
August 16, 2024 at 5:23 am #16076714

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,
Thank you for the update, and I appreciate the effort in sharing the details.

The use case you're dealing with is indeed unique and special. Based on your requirements, I reviewed similar cases reported in our internal system and can suggest two approaches to effectively translate the ACF field contents:

1. Using WPML Translation Editor:
- If you want the same Flexible field block to appear in the other language, it's best to set the ACF Flexible field to "Copy." However, in this case, you won't be able to manually change the subfields, even if you adjust their settings. The text in these fields can only be translated using the WPML Translation Editor.
- When adding a translation, switch the translation mode to WPML Translation Editor (Screenshot: hidden link). Then, in WPML > Settings, select the Advanced Translation Editor as the preferred translation editor (Screenshot: hidden link).
- Since you want to use different images in other languages, consider using the WPML Media Translation plugin. This allows you to add a different image for each language.

2. Using the WP Native Editor:
- If you prefer to manage content using the WP Native editor, set the Flexible content and Repeater fields to "Copy-once." Then, translate the page and manually add the new fields to the translation.

In the case of Flexible and Repeater fields, the subfields can be influenced by the parent field, which is why it's not possible to copy just the Flexible field and translate the other fields manually.

The methods should help you effectively manage the translation of your ACF field contents. Please feel free to let me know if you need further assistance or clarification. I will be happy to help.

Best regards,
Prosenjit

August 16, 2024 at 7:42 am #16077209

basF

Hi Prosenjit,

Thank you for your clear mail.
Is it also possible to go for option 2 and activate the Media Translation plugin to make the image translated

Best regards,
Roger

August 19, 2024 at 3:42 am #16081997

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Roger,
I hope you're doing well. Sorry for the delay in responding due to the weekend.

When the "Copy-once" option is selected for the image field, you won't be able to translate the image uploaded through that field using Media Translation. To translate media uploaded through the ACF image field, the translation preference for the image field must be set to "Copy".

Please refer to this guide for a clearer understanding: https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/how-to-use-different-files-and-images-across-languages-with-acf-and-wpml/

I hope this clarifies which option to go with. If you need further assistance or clarification, please feel free to let me know. I'm here to help.

Best regards,
Prosenjit

The topic ‘[Closed] replace ACF image in a clone field’ is closed to new replies.