Skip Navigation

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

Problem:
The advanced custom field relationship is not translated, the English field has Arabic values, not the English ones. Relationship fields are set to Translate.

Solution:
- Go to ACF > Fields groups > Edit and set your relationships field to Copy, so the same value is copied to the translated post.

- Go to default language post and click Update so correct values are now synced and copied.

Relevant Documentation:
- https://wpml.org/documentation/getting-started-guide/translating-custom-fields/
- https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/

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

Last updated by mohamedM-48 3 years, 5 months ago.

Assisted by: Dražen Duvnjak.

Author Posts
November 11, 2020 at 6:15 pm

mohamedM-48

the advanced custom field is not translated, the english field has arabic values not the english ones
for example there is a relationship between car models and brands
in car models post type I have acf relationship to choose car brand post types
but the already chosen one are the arabic one not the english one in the english version

November 11, 2020 at 6:48 pm
November 12, 2020 at 12:40 pm #7433879

Dražen Duvnjak
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

I have checked your issue and I think I find the reason why is happening.

You have set the field to Translate, this means as per our documenation.

Translate – allows you to manually translate the field values.

- https://wpml.org/documentation/getting-started-guide/translating-custom-fields/

I have changed them to copy, so the same value is coped to translated post and since it is translation it shows translated connected post.

Video: hidden link

For already created posts, you just need to update them so WPML sync values, you can use "Quick edit" on default language and click Update, it should work in your case.

I hope I was helpful. Don't hesitate to ask if you find any problem along the way, I'll gladly help you.

Regards,
Drazen

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.