Skip Navigation

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

Problem:
The client was experiencing an issue where all images disappeared from translations after setting up WPML Media Translation.
Solution:
This problem was linked to the incorrect setting of a Flexible Content Field in ACF, which was set to "Translate" instead of "Copy once", leading to corrupted data on translated Custom Post Types (CPTs). We recommended setting the ACF Field Groups used on CPTs to "Different fields across languages". This setting is advised when translating with the WordPress Editor as it avoids the need to configure each field individually. If the issue persists, the client should delete the translated CPTs and translate them again. Alternatively, investigating the

wp_posts

and

wp_postmeta

database tables to identify the problematic translations could help. Additionally, ensuring that fields are set to "copy" or "copy once" based on the translation editor used (WPML Translation Editor or WordPress Editor) is crucial.

If this solution does not resolve the issue or seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If problems persist, please open a new support ticket.

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

Last updated by Andreas W. 2 weeks, 2 days ago.

Assisted by: Andreas W..

Author Posts
January 7, 2025 at 3:55 pm #16570705

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Yes, these fields can be set to "copy" or "copy once", depending on if you use the WPML Translation Editor or the WordPress Editor for the translation.

In your case the issue appeared to be that the fields were set to "Translate" and the translation caused an issue.