Back to the Field Group Labels. It seems that the define('ACFML_EXCLUDE_FIELD_GROUP_STRINGS_IN_POST_JOBS', true); did not work after all. I still see them in the WMPL > Translation Management
Welcome to the WPML support forum. I will do my best to assist you in resolving the issue.
I have created this ticket for easier follow-up and to avoid discussing multiple issues in a single thread.
The issue persists even after applying the following code in the functions.php file of your theme. Therefore, I have shared the details with our team for further review and am currently awaiting their feedback. Please wait.
Sorry for the delayed response. We were testing the best workaround for this issue, and it worked as expected after adding the following code to the functions.php file in our local copies. Please try it on your site after taking a full backup and let us know your feedback.
/**
* Exclude the ACF field group section on the Translation Management Dashboard.
*
* @see <em><u>hidden link</u></em>
*/
add_filter( 'wpml_tm_dashboard_item_sections', function( $sections ) {
/** @var \WPML\UserInterface\Web\Core\Component\Dashboard\Application\ViewModel\ItemSection[] $sections */
return array_filter(
$sections,
function( $section ) {
return $section->getId() !== 'stringPackage/acf-field-group' && $section->getId() !== 'stringPackage/acf-options-page-labels';
}
);
} );