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.

This topic contains 21 replies, has 2 voices.

Last updated by Shekhar Bhandari 1 year, 10 months ago.

Assisted by: Shekhar Bhandari.

Author Posts
September 28, 2023 at 9:57 am #14480325

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

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

Hello there,

I can see the issue now, can you update the advanced custom fields pro and ACF multilingual plugin to the latest versions and see if it helps

Look forward to your reply.

Thanks

September 28, 2023 at 10:45 am #14480701

Joris Rijpma

So I updated the ACFML/WPML plugin to the latest version locally, but forgot to put it on our acceptance server.

It's now on the acceptance server.

September 29, 2023 at 6:42 am #14485789

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

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

Hello there,

I created a public test site with a similar block and I can translate it here without any issues. hidden link

Since it was not happening on public test site, I downloaded your site package using duplicator and it looks like the theme is made custom implementing twig templates, It looks like a compatibility issue with the theme, can you please let me know if it's a custom theme or it's available for the public to purchase or download?

Look forward to your reply.

Thanks

September 29, 2023 at 7:18 am #14485961

Joris Rijpma

Hello,

It is indeed a custom developed theme.

September 29, 2023 at 3:12 pm #14488515

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

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

Hello there,

It looks like the field name is conflicting, if you change the field name from title to title123 or something else, the same way for subtitle to subtitle123 and add the content, it's working for me in localhost.

Can you please test this and see if this helps? If this doesn't help, can you please provide me the file path where the blocks has been created in the theme.

Look forward to your reply.

Thanks

October 3, 2023 at 8:22 am #14502149

Joris Rijpma

Hello Shekhar,

When changing the field name (title to title123) this will be outputted in the XLIFF file. So technically we can say that changing the field name works.

My problem now is that the website is already filled with content. So by changing all the field names the data will be lost (inside WordPress CMS). Do you know a solution for this?

October 3, 2023 at 8:23 am #14502155

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

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

Hello there,

I am not aware of any functions that allows you to change field names while keeping the data, I think it will be to consult ACF team about this, as they might have something to suggest or migrate.

Thanks