I have an ACF repeater field that I use in a WooCommerce product. However, I can't translate it in the copy of the product.
The same ACF field works on the post type "page".
- I have the WP_MEMORY_LIMIT set to 256 and the PHP memory limit is 512.
- In the WPML settings for the custom fields field I've selected "Translate"
- In the WPML settings on the particular ACF field I've selected "Translate".
Welcome to the WPML support forum. When it comes to ACF fields, setting up translation preferences for each field can be tricky. So, let's start by reviewing your configuration:
2. Now when you edit your ACF groups in the default language, this is where you determine the translation preference for each field.
- "Copy" or "Copy once" for special fields "Repeater" and "Flexible".
"Copy" is you want the exact same repeaters and structure, else "Copy once" From the screenshot you sent, it seems that your repeater is set as "Translatable".
- "Translate" for all the fields you want to translate such as texts, WYSIWYG etc...
- Use "Copy" if you don't want to translate the field but keep the same value, for example for colors, true/false, images etc...
Ref: https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/recommended-custom-fields-translation-preferences-for-acf-and-wpml/
- Please change the translation preference of your repeater to "Copy"
- Then go back to the original product and make a small edit (like adding a space at the end of the title" and re-save it. That should be enough to update the translation. Then enter the translation and see if the sub-fields that are set as "Translate" are translatable.
The topic ‘[Closed] Problem with a ACF repeater field in WooCommerce’ is closed to new replies.