Skip to content Skip to sidebar

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.

Tagged: 

This topic contains 2 replies, has 0 voices.

Last updated by Bigul 2 weeks, 3 days ago.

Assisted by: Bigul.

Author Posts
July 25, 2025 at 10:23 am #17270670

thomasS-38

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

July 25, 2025 at 10:34 am #17270690

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

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.

add_filter( 'wpml_tm_dashboard_documents', function( $documents ) {
    return array_filter( $documents, function( $doc ) {
        return $doc->translation_element_type !== 'package_acf-field-group';
    } );
} );

--
Thanks!

Bigul

August 20, 2025 at 4:49 pm #17335249

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

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';
                }
            );
} );

--
Thanks!

Bigul

2025-08-20_22h18_09.png