Home › Forums › Backend Issues (wp-admin) › Gallery field + WPML: image title is always shown in original language › Reply To: Gallery field + WPML: image title is always shown in original language
Hey there,
When you translate a post, all the custom field values are duplicated from one to the other.The gallery field in the english post contains the ID’s of selected images.
When translated, the gallery field in the italian post contains the ID’s of the originally selected images.
The issue here is that the ID’s are pointing to the english images, not the translated language images.This is due to missing logic between ACF and WPML.
For now, you will need to remove the selected images in the gallery field and re-select them. This will ensure that the images selected are of the correct language – that way you can edit the titles correctly
I hope that helps
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
ACF PRO’s Flexible Content field allows you to create smaller pieces of UI and compose them into whole flexible patterns. In our latest article, we show how to use it to create swappable site sections and integrate it all in a theme.https://t.co/ZRocH8oJSp
— Advanced Custom Fields (@wp_acf) January 24, 2023
© 2023 Advanced Custom Fields.
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.