This thread is resolved. Here is a description of the problem and solution.
Problem:
You are experiencing performance issues with ACFML when it adds strings to the string translation tool for all ACF field groups. You do not translate admin fields and do not want these strings in the string translation as it slows down your site. You have many ACF fields, resulting in thousands of strings being added. A workaround was provided previously, which involves modifying a file, but it needs reapplying after each ACFML update.
Solution:
Currently, there is no alternative solution apart from the workaround you mentioned. We have escalated the issue to our development team, and it is on our list. You will be updated on your previous support ticket as soon as there is any news. In the meantime, if you need to apply the workaround, you can prevent ACFML from registering and reading the fields translations from String Translation for ACFML labels by going to this file:
wp-content/plugins/acfml/classes/class-wpml-acf.php
and changing this line from
ACFMLStringsHooksFactory::class => true
, to
ACFMLStringsHooksFactory::class => false
.
Please note that this solution might be irrelevant if it's outdated or not applicable 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. If the issue persists, please open a new support ticket 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.