This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is unable to get WPML to recognize and translate flexible fields in a WooCommerce webshop using Advanced Custom Fields (ACF) registered via PHP. Additionally, when attempting to use the WPML translation editor, an error occurs stating 'File size limit exceeded' and 'unable to retrieve job content'.
Solution:
We recommend the following steps to resolve the issues:
1. Install a specific plugin from this link and follow its usage documentation to convert the field groups.
2. Verify that all groups are imported correctly by checking here.
3. Edit each group to ensure the translation preferences are set correctly.
4. Export the groups as JSON after toggling all groups at this page.
5. Delete the PHP code for the field groups once confirmed working.
6. To address the translation editor issue, exclude field choices and labels from post-jobs by adding the following line to your wp-config.php:
define('ACFML_EXCLUDE_FIELD_GROUP_STRINGS_IN_POST_JOBS', false);Then, update the page in the default language and translate it.
If these steps do not resolve your issue or if the solution seems outdated or irrelevant to your 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. Additionally, please feel free to open a new support ticket with us for further assistance at WPML support forum.
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 8 replies, has 0 voices.
Last updated by 1 year, 2 months ago.
Assisted by: Osama Mersal.


