Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
Connect the translation for a page and the field value is synced from the translation.
Solution:
Set the custom field preference to Translate in WPML > Settings > Custom Fields Translation.
Relevant Documentation:
https://wpml.org/documentation/getting-started-guide/translating-custom-fields/

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

Last updated by digitalM-7 1 year, 9 months ago.

Assisted by: Long Nguyen.

Author Posts
February 20, 2023 at 4:18 pm #13072265

digitalM-7

Tell us what you are trying to do?

I want to link the English and Spanish versions of products to get the hreflang but when I do it changes the custom field values on the English product to Spanish.

Is there any documentation that you are following?

No

Is there a similar example that we can see?

I would have to show you what is happening. Can we do a screenshare zoom session?

What is the link to your site?

hidden link

February 21, 2023 at 9:30 am #13076693

Marcel
Supporter

Languages: English (English ) German (Deutsch )

Timezone: Europe/Madrid (GMT+01:00)

Hi,

before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.

Please note that we can't provide support outside this public forum. As I do not fully understand your exact issue, please give a specific example with screenshots or a screen video.

Thank You!

Best Regards
Marcel

February 21, 2023 at 5:44 pm #13081779

digitalM-7

Hello, here is a Loom video of what is going on.

hidden link

February 22, 2023 at 7:54 am #13085585

Long Nguyen
Supporter

Languages: English (English )

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

Hi there,

Thank you for contacting WPML support, I'd be happy to help you with this issue.

According to the debug info, I see the default language on your site is "en-us". You are editing the product and connecting a translation in the default language, so you should check the box "Make English the original language for this product" when connecting the translation.

If not, the custom fields value might be copied from the original language, now is "es-mx" based on the preference. Please read more on the documentation https://wpml.org/documentation/getting-started-guide/translating-custom-fields/

Please do the same steps and check the box to make English the original language and let me know how it goes.

Look forward to your reply.
Thanks

February 22, 2023 at 4:32 pm #13091123

digitalM-7

Hello I have tried checking the box and it does the same thing both ways.

February 22, 2023 at 7:42 pm #13092291

digitalM-7

I figured out the solution. Those fields were set to copy between translations in WPML settings. I switched it to translate and now we are good.

February 22, 2023 at 7:42 pm #13092293

digitalM-7

Thank you!