Skip Navigation

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

Last updated by Prosenjit Barman 1 year, 3 months ago.

Assisted by: Prosenjit Barman.

Author Posts
August 8, 2023 at 2:01 pm #14169681

giladT

Tell us what you are trying to do?
I am translating posts. In the original post featured image element is disabled, but in all translations, it is shown. The Custom Fields Translation "_generate_disable_featured_image" in settings is set to Copy. What else should I do/check/fix to make it work?

August 9, 2023 at 4:35 pm #14177525

Bigul
Supporter

Languages: English (English )

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

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

Normally the media items will not be shown in a secondary language, if we disable the following *Media attachments* options of the Language widget(on the right side of the edit screen) of an original language post.

- Duplicate uploaded media to translations
- Duplicate featured image to translations

So please create a test post and disable these options. Then translate it to a secondary language and make sure you are getting the expected results or not.

If the problem remains, please share a couple of screenshots or screencast for a better understanding of the issue.

--
Thanks!

Bigul

August 10, 2023 at 6:44 am #14179287

giladT

Pls find attached screenshots of my post settings, all are set to the correct values, but the featured image is still showing in all secondary language translations.
Maybe it has something to do with Media Translation Settings (also see attachment). I tried changing them, but they won't change after I press Apply and refresh the page they are the same (as on the screenshot).

Media Translation Settings.png
Media attachments - disabled .png
Featured Image - disabled .png
Custom Fields Translation - set to Copy.png
August 10, 2023 at 1:59 pm #14183197

Bigul
Supporter

Languages: English (English )

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

Hello,

Thank you for the details. A couple of requests for tracking this issue.

1) Please share the URL of 2-3 posts having the problem

2) Please fill the private details fields after a full site backup{mandatory}. I would like to access the admin area of your site for further checking. Refer to the following links for more details about our private information sharing policies.

https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

hidden link

--
Thanks!

Bigul

August 11, 2023 at 2:40 pm #14189319

Bigul
Supporter

Languages: English (English )

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

Hello,

Thank you for the credentials. But I am getting the following error while login to the site. Please check it.

Error: The password you entered for the email address/user name **** is incorrect. Lost your password?

--
Thanks!

Bigul

August 14, 2023 at 2:46 pm #14197893

Bigul
Supporter

Languages: English (English )

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

Hello,

Thank you for the updates. I can log in to the site now. But sorry, I am not able to reproduce the issue exactly.

For example please check the following original language post and its translations. The original language post doesn't have a featured image. And the translations are showing the correct setting for the *Disable Elements* settings. Refer to the attached image.

hidden link

hidden link

hidden link

So which image you are trying to hide for this post in the frontend? Please let me know the exact steps to reproduce the issue on your site. It will be great if you can share a screencast for a better understanding.

--
Thanks!

Bigul

2023-08-14_20-11-34.png
August 16, 2023 at 7:03 am #14206313

giladT

Pls take a look at this review hidden link, I have disabled the featured image in the original review before translations, but in all secondary languages, it is still showing the featured image above content. I have to disable it manually in each translation. Same here:
hidden link
hidden link
In the review you mentioned in your reply, I have already disabled all featured images manually.

August 16, 2023 at 3:49 pm #14239409

Bigul
Supporter

Languages: English (English )

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

Hello,

Thank you for the details. Please update the following post in the original language, then update its translations and make sure you are getting the expected results or not.

hidden link

The translation settings are stored for each post separately. So we have to update it once we change the settings. But it will be working fine for the new posts.

I created a test post(private) and it works for me. Please check the following URL and let us know your feedback.

hidden link

--
Thanks!

Bigul

August 21, 2023 at 8:52 am #14261191

giladT

Hello, I have updated this post - hidden link and translated it again, but the result is the same - the featured image is enabled in all the translations. I can only disable it by editing each translation manually.

August 22, 2023 at 4:51 am #14267533

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
I hope you're doing well.

As Bigul is on vacation, I've taken this ticket and will be assisting you from here.

I've checked and am happy to inform you that the issue is fixed now. The translation setting for the feature image field (identified as "_generate-disable-post-image") was configured as "Don't Translate". As a result, the value wasn't copied to the translated post.

From "WPML > Settings > Custom Field Translations", I change the setting to "Copy" which solved the issue. Please check this post: hidden link

For now, You just need to save the default review post so that the value can get copied to the translations. If you want to change the translation preference of other fields as well, search for the field name from the browser developer tool and set the translation preference as per your needs. Please check this screenshot(hidden link) for a better understanding.

Please let me know if there is anything else if you need help with.

Best regards,
Prosenjit

August 22, 2023 at 9:45 am #14269597

giladT

Great! thanks, it worked!