Skip Navigation

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

Problem:
The client has a custom post type called Projects, and the images are not syncing across translations.
Solution:
1. Verify if the images are added through a custom field. If so, ensure the custom field is set to "copy" in the translation settings.
2. If the images are not added through a custom field, navigate to WPML->Settings->Media Translation and run the function that duplicates or translates images to other languages.
3. If the issue persists, check the widget, block, or custom field used for these images. Since they are set through Elementor, without backend access, further specific guidance cannot be provided.
4. Change the translation preference of the custom fields to "copy" using the Expert mode. Then, make a small edit to the content of the project so WPML can detect the changes and retranslate, which will copy those fields in other languages.

If this solution does not resolve your issue or seems outdated, we recommend opening a new support ticket. We also advise 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. For further assistance, please visit our support forum at https://wpml.org/forums/forum/english-support/.

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

Last updated by simeonN-2 13 hours, 51 minutes ago.

Assisted by: Ilyes.

Author Posts
November 16, 2024 at 9:59 pm #16411202

simeonN-2

Background of the issue:
I have a custom post type called Projects on my site hidden link. Everything is working with the translation using WPML.
Example
hidden link
hidden link

Symptoms:
The images for the custom post type Projects are not synced.

Questions:

November 18, 2024 at 9:42 pm #16416648

Ilyes
Supporter

Languages: English (English ) French (Français )

Timezone: Pacific/Easter (GMT-05:00)

Hello,

Thank you for contacting WPML support team,

Are these images being added through a custom field? if so, make sure the custom field is set to "copy" in the translation settings,

If not, in WPML->Settings->Media Translation, you should find options that Duplicate/translates images to other languages, please run that function.\

If that did not help, please let me know what widget, block or custom field are you using for these images, I do see that they are set through elementor but I do not have other info as I don't have backend access to your site,

Best,

November 18, 2024 at 9:48 pm #16416651

simeonN-2

Hi there,

I have used the function - WPML->Settings->Media Translation, you should find options that Duplicate/translate images to other languages, please run that function.\

but it doesn't help.

I am using the ACF plugin and work with the custom field images.

Screenshot 2024-11-18 at 23.47.43.png
Screenshot 2024-11-18 at 23.44.37.png
November 19, 2024 at 3:54 pm #16420607

Ilyes
Supporter

Languages: English (English ) French (Français )

Timezone: Pacific/Easter (GMT-05:00)

Hello,

I would like to ask for temporary access to your test site’s wp-admin and FTP to investigate the issue further.

It is important to note that you should back up your site and database before proceeding, and you can use a plugin like Duplicator for this purpose. Here’s a link to the plugin: http://wordpress.org/plugins/duplicator/

If you do not see the form below, please do not enter your credentials as they will be publicly exposed:

hidden link

For your privacy and security, please ensure that you make your reply a private one.

Best regards,

November 20, 2024 at 12:59 am #16422056

Ilyes
Supporter

Languages: English (English ) French (Français )

Timezone: Pacific/Easter (GMT-05:00)

Hello,

The images are now showing in second languages : hidden link

I had to change the translation preference of your custom fields by using the Expert mode : hidden link

And changed the images field translation preference to "copy" : hidden link

Then finally, I added a small edit to the content of the project so that WPML can detect the new changes, retranslated it and that copied those fields in other languages,

Let me know if you have questions,

November 21, 2024 at 6:52 am #16427356

simeonN-2

Thank you so much! It worked!