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.

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by Long Nguyen 1 year, 4 months ago.

Assisted by: Long Nguyen.

Author Posts
September 8, 2023 at 8:14 am

matejK-16

Translations break after change in blocks on the original version of the page.

September 8, 2023 at 9:32 am
September 8, 2023 at 10:21 am #14365771

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Here is the ticket. Please create a backup file of your site and database then share it with me. I will try to restore your site on the local host and investigate the issue. Your next reply is set to private to share the info.
You can use this plugin to create the backup: https://wordpress.org/plugins/duplicator/

Look forward to your reply.
Thanks

September 11, 2023 at 5:37 am
September 11, 2023 at 9:34 am #14374333

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I've downloaded the database and website files but it is a large DB file and complicated setup. I'm not able to import the database and restore your site on my local host.

Checking the translation page in the admin area, I see it occurs because of the order of flexible layouts is not synced to the translation page. Please try to edit the field group > set the field preference of all fields: Flexible content, Group, Repeater to "Copy" to keep the same order in the second language.
Then make a small change to the page title > Save changes > Update the translation and see if it helps.
❌ IMPORTANT: Please backup your database and website before proceeding ❌

If not, please copy your site into a staging site then remove some unrelated plugins and content to reduce the data size and create a backup file with the plugin Duplicator or All-in-One WP Migration then share the backup file and staging site credentials (wp-admin and FTP). Your next reply is set to private to share the info.

Look forward to your reply.
Thanks

September 11, 2023 at 9:36 am
September 11, 2023 at 11:45 am
September 12, 2023 at 4:43 am #14380185

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

After restoring your site on my local host, I changed the Flexible Content field preference in the Block field group to "Copy" > Save changes.
Then edit the page > Make a small change to the page content > Save > Update the translation page and that fixes the issue. Can you please apply this workaround on your site and let me know how it goes?

I also recommend changing the preference of all fields Flexible content, Group, Repeater to "Copy" to keep the same order in the second language.

Refer to this documentation https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/recommended-custom-fields-translation-preferences-for-acf-and-wpml/

Look forward to your reply.
Thanks

September 12, 2023 at 11:03 am #14382919

matejK-16

Hi,
thank you - I've implemented your suggestion and we'll continue testing this week. Will report back asap.
Please bear with me.
Thanks

September 13, 2023 at 2:19 am #14386677

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

I'm waiting for your feedback.

Thanks.

September 18, 2023 at 9:33 am #14410553

matejK-16

Thank you, issue resolved.