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.

Elementor users - please update WPML to the latest version to maintain compatibility. More details here - https://wpml.org/changelog/2024/12/wpml-4-6-15-critical-update-for-elementor-sites/
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)

This topic contains 9 replies, has 2 voices.

Last updated by kevinB-5 3 years, 2 months ago.

Assisted by: Shekhar Bhandari.

Author Posts
July 2, 2021 at 9:17 am

kevinB-5

ACF with WPML

July 2, 2021 at 10:57 am
July 2, 2021 at 11:54 am #9119995

kevinB-5

I tested a bit more and I'm quite sure that I found a bug.

The fields are configured like this:
group_field (type: group - translation preference: copy)
-> group_field_1 (type: text - translation preference: translate)
-> group_field_1 (type: text - translation preference: copy once)

After this I did the following:
- I added values to these fields in the primary language;
- I opened up the secondary language and the fields are prepopulated with the values from the primary language (which is great);
- I changed the values of the fields and saved the page;
- The newly loaded page again shows the values from the primary language.

So it seems like the translation value from the group (group_field) is being used for all fields.

July 5, 2021 at 7:49 am #9129085

Shekhar Bhandari
Supporter

Languages: English (English )

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

Hello there,

Can you set the group field preferences to be translated and see if this helps.
group_field (type: group - translation preference: translate)

Look forward to your reply.

Thanks

July 5, 2021 at 7:56 am #9129103

kevinB-5

Hi Shekhar,

When I change the translation setting for the group field to 'translate' it no longer pre-populates the sub-fields from new languages with the value from the primary language. When I add a value to the field it is saved, though.

When I change the group field to 'copy once', I'd expect (if everything works) the values for sub-fields to get copied when opening another language as well. But that doesn't happen either.

July 5, 2021 at 10:21 am #9130291

Shekhar Bhandari
Supporter

Languages: English (English )

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

Hello there,

I have escalated the issue to our 2nd tier supporters. I will update you as soon as I will receive futher feedback.

Thanks

July 16, 2021 at 1:06 pm #9217267

Shekhar Bhandari
Supporter

Languages: English (English )

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

Hello there,

Our developers are still checking the issue, in the meantime, they suggested the following workaround, can you try it and see if it works?

- Set the group fields to copy
- Update the options in the main language
- Update the options in the secondary language
- Set the group field to translate again

You will now have all fields copied to the secondary language and can modify the values as well.

Let me know if this helps.

Thanks

July 16, 2021 at 2:36 pm #9218107

kevinB-5

Hi Shekhar,

Thanks for getting back at me. 👍
This will probably work, although I have many option pages with several groups in them so this is not really convenient. And if the secondary language already had differing fields, that data will be overwritten. I understand that it's a temporary workaround and it could work for setting up a new language.

July 19, 2021 at 4:45 am #9226659

Shekhar Bhandari
Supporter

Languages: English (English )

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

Hello there,

Yes, this is a temporary solution, our developers are working for a permanent fix for this issue.

I will update you as soon as I will have further news.

Thanks

October 29, 2021 at 5:16 pm #9892745

Shekhar Bhandari
Supporter

Languages: English (English )

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

Hello there,

The issue is now escalated to our developer's team, I will update you here as soon as I will have further feedback.

Thanks

November 1, 2021 at 9:17 am #9900615

kevinB-5

Hi Shekhar,

Thanks for coming back with me, it's been too long already (no offence, of course).
I hope a definitive solution will be available soon!