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.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.