Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 -
- 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 -

Supporter timezone: Asia/Kathmandu (GMT+05:45)

Tagged: 

This topic contains 20 replies, has 0 voices.

Last updated by Shekhar Bhandari 8 hours ago.

Assisted by: Shekhar Bhandari.

Author Posts
June 17, 2025 at 5:42 am #17140638

Ton

Background of the issue:
Since WPML 4.7 it says a message something in the line of:

Starting with version 4.7, WPML will also automatically translate texts (strings) coming from ACF Field Group, Gravity Form.
WPML will not translate existing texts of this type, but any new texts you create will be translated automatically. If you prefer, you can start translating existing content now.

We do NOT want this to happen for ACF Field Group. How can we turn this OFF?

Symptoms:
WPML automatically translates texts from ACF Field Group, which I do not want.

Questions:
How can I turn off automatic translation for ACF Field Group in WPML? Any filter for this?

June 17, 2025 at 6:15 am #17140702

Ton

So here is the evidence that adding a field messes things up.
hidden link

Also see the image attached, it translated the acf field group anyway.

This is not supposed to happen. Right?

For some reason, now I have to manually update every page (with no changes) to make my translated pages work again.

translated-acf-field-group-anyway.png
June 17, 2025 at 9:44 am #17141563

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Adding a field updates affected post types and adjusts them. This may take time. Once the scan is complete, the issue should be fixed. Please check if the issue persists after the update.

The define allows you to disable the fields labels from Automatic Translations Jobs, but since you are using translate everything automatically, it will also translate the strings even with the define in wp-config.php, it's not possible to disable translations for labels and choices with "Translate Everything Automatically"

Look forward to your reply.

Thanks

June 17, 2025 at 2:33 pm #17142936

Ton

Well I did as you said and I waited. But this still happens. The fatal error. This only happens after I change my ACF.

Somehow it is translating the field-names (not the labels) of all the ACF fields I have.

So the label for example is "Content 1 koloms" and the name is normally "content_1_koloms".
But after adding my fields, the name becomes 'content_1_columns' in English.

It NEVER should change the names! Labels, no problem, but names is a big issue!

This can never happen because the name is linked to the function get_row_layout() from ACF.

The "content_1_columns" string is found in wp_2020_postmeta somehow. Nowhere else. This just does not make any sense.

After I update the page/post (without any real changes), it changes back in the database to what it needs to be.

Screenshot 2025-06-17 163243.png
June 17, 2025 at 6:03 pm #17143616

Ton

One more reply. This is the same bug as last time:
https://wpml.org/forums/topic/do-not-translate-acf-field-group/

So it's translating the ACF flexible content field name (slug). It's not the Label what i am talking about.

That's where it goes wrong.

June 18, 2025 at 6:23 am #17144663

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

To debug this issue further, I would need to check your site settings once, for this I would need temporary access (wp-admin and ftp) to your site.

So could you please provide me with those details, you will find the needed fields for this below the comment area when you log in to leave your next reply.
hidden link

This info is private and available to you and WPML supporters only.
Read more about this: https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Note:
Backup your sites before providing the credentials or if possible provide credentials for the test site

Look forward to your reply.

Thanks

June 19, 2025 at 6:28 am #17148681

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Can you also provide me the phpmyadmin username and password?

Enabled the private reply for you.

Thanks

June 19, 2025 at 6:18 pm #17152142

Ton

It's in the wp-config on the FTP 😉

June 20, 2025 at 4:25 am #17152648

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Thank you for the info.

I added some content to the post, hidden link content_0_content and translated it, checked the postmeta for it's translations and I can't see the content_0_content being translated on the staging site.

Am I missing something?

Look forward to your reply.

Thanks

June 20, 2025 at 7:11 am #17152866

Ton

Hello Shekhar,

Yeah you did this for new content, I don't know about that. My problem is in existing content. But please take a look at the homepage for example.

---------------

This is NL: hidden link
This is EN: hidden link

Now you can clearly see it not working in the EN right?
This is because the flexible row layout name (not the label) got translated.

And this goes wrong because we do an include of the flexible row name, e.g. "content_1_koloms".
Code example:
include(locate_template('components/' . get_row_layout() . '/' . get_row_layout() . '.php'));

---------------

So what happens as far as I can see:

1.
All is fine on the website (all pages etc).

2.
Then you add an ACF field in the flexible content.

3.
WPML does it's thing syncing stuff.

4.
Translated EN pages somehow get the names (not labels) of the flexible content rows translated.

And what happens at step 4 should never happen.

---------------

Take a look here:
hidden link

That is the "content_1_koloms". This should always be the case. Never be translated.

But in the EN pages it's "content_1_columns". So this happens after we add an ACF field. This you can see in the 'postmeta' table in phpMyAdmin.

---------------

I hope to hear from you. If you need any other info, let me know.

Maybe i can make the test-site working correctly again and than make a video of the whole process and all steps I do when things get broken.

Kind regards

June 20, 2025 at 7:49 am #17153036

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

I deleted the content postmeta field for the translated homepage and updated the pages and it's working for me.

Looks like the content fields was set as translated in the past or wrongly configured as the same problem is not happening for new posts.

Can you check the solution for another pages and see if it helps.

Thanks

June 20, 2025 at 8:06 am #17153092

Ton

Hello Shekhar,

Just to be sure of your steps:

How did you delete "content postmeta" for a specific page? Did you do this via phpMyAdmin?

What language did you update the homepage, the NL version or the EN version? I think you updated the NL version?

I hope to hear from you.

June 20, 2025 at 8:08 am #17153125

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Yes, PHPmyadmin.

I updated the default language post.

June 20, 2025 at 9:40 am #17153588

Ton

Hello Shekhar,

So I did this, and yes temporarily this will fix it. I already knew this.

But as soon as you add another ACF field in the future, the same thing will happen again. That is where the big problem is.

-------

Now I can't seem to replicate it because Automatic Translation is stopped. Could you for test allow this on this site (give a few more test-credits)?

And I want to create a video of the problem replicated for you.

-------

Hope to hear from you.

June 20, 2025 at 10:01 am #17153686

Ton

Thank you. Now these are the steps you see in the video:

1.
Me showing that there are no "content_1_columns" present in the database. Wich is how it should be.

2.
A working English site.

3.
Adding an ACF field to on of the ACF groups (flexible content fields).
Ahw and it doesn't matter where I add the field.

4.
WPML automatic translating / syncing stuff.

5.
Broken website.

6.
"content_1_columns" is back in the database.

Here is the video:
hidden link

Hope to hear from you.