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 3 replies, has 2 voices.

Last updated by Prosenjit Barman 1 year, 10 months ago.

Assisted by: Prosenjit Barman.

Author Posts
September 17, 2023 at 12:10 pm #14408143

emmanuelleM-4

We've setup WPML with the ACF add-on.

When we duplicate a page, the ACF field content isn't duplicated with it. We've also tried clicking the 'Copy content from english' option but this isn't copying the ACF fields either.

The 1st language is English (GB) and the 2nd language is English (US), so we need all pages to copy the content exactly using the duplicate button.

Can you point us in the right direction?

hidden link
hidden link

Screenshot 2023-09-17 at 13.08.31.png
September 19, 2023 at 6:56 am #14416433

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support.

I understand what you're looking for and will try my best to assist you in this matter.

To copy the ACF field data across different languages, you must set the translation preference for each ACF field to "Copy". Once the Translation option for the Field group is set to "Expert", you'll be able to set the translation preference for each field individually.

Kindly check this documentation to understand the process of changing the translation option of the field group: https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/#selecting-a-translation-option

Here is the documentation on changing the translation preference of the ACF fields: https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/expert-translation-option/#setting-field-translation-preferences

After updating the translation preference, please try to retranslate/duplicate the page. I hope it will help.

Please let me know the update. I will be happy to help if you need further assistance in this matter.

Best Regards,
Prosenjit

September 19, 2023 at 8:40 am #14417355

emmanuelleM-4

Thanks for your response.

The fields are set to "Copy" but are still not copying. This is the case when a page is duplicated to another language and when I click "Copy content from English".

Thanks.

September 20, 2023 at 4:13 am #14425977

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,

Since you've used Flexible fields, could you also make sure that the translation preference for that field is also set to "Copy"? To get a clearer understanding of the process and see how things work in my development environment, please check this video: hidden link

But, if the issue persists even after making the adjustments correctly, a closer inspection will be required to understand the root cause of the issue.

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated.

You will find the needed fields below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT
-Please backup site files and database before providing us access.
-If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link

Best Regards,
Prosenjit