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

Last updated by Itamar 6 days, 22 hours ago.

Assisted by: Itamar.

Author Posts
March 31, 2025 at 7:30 am #16877627

pietro-giaocmoA

Background of the issue:
I am trying to manage media files on my site hidden link using WPML. I have read the Translate Media Documentation but am unsure if I understand it correctly.
I am experiencing issues with permanently deleting media files unless I delete them in every language that WPML has duplicated.

Symptoms:
WPML inhibits the possibility to permanently delete a media file if it has been translated.

Questions:
Could you please clarify the effect of each of the following options if checked/unchecked in the WPML Settings -> Media Translation Section?
If I uncheck all the 'duplicate media' options as follows, will the media file still be displayed on translated pages?

You can check if some attachments can be duplicated to translated content: (what do you intend by "attachments" ?)

1- Translate existing media in all languages (please clarify: duplicate)
2- Duplicate existing media for translated content (please clarify: duplicate)
3- Duplicate the featured images for translated content (please clarify: duplicate)

Media Translation Documentation
1- When uploading media to the Media library, make it available in all languages
2- Duplicate media attachments for translations (please clarify: duplicate)
3- Duplicate featured images for translations (please clarify: duplicate)

March 31, 2025 at 8:31 am #16878007

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

Before we proceed, I want to stress the following point: This might be an issue with syncing the media files to FileBird folders. The setting is in Settings -> FileBird. You can read about it in the guide here.

hidden link

Please see the attached screenshot.

Does this help to sync the deleted media files between the FileBird folders?

If not, please proceed with the following.

Can you please help us replicate this problem with the Filebird Pro plugin?
(We don't have the latest version of the Pro plugin.)

We need to replicate this issue on a fresh WordPress installation. Then, I'll be able to escalate it to our compatibility team. For this, I created a test website with a clean WordPress install. You can access it through this link:

hidden link

With this link, you'll be directly logged in.

Could you please install the Filebierd Pro plugin and see if the issue is replicable on a clean WordPress installation?

I've configured WPML to have Italian as the default language and English and German as the second language.

Please also ensure you install the latest version of the plugin.

Please let us know when everything is finished, and you can replicate the problem.

Important! Do not import your site to the test site. We must replicate the problem on a fresh, clean WordPress installation.

Thanks,
Itamar.

2025-03-31_11-28-18.jpg
March 31, 2025 at 9:57 am #16878384

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

I have further findings.

The FileBird plugin's Sync WPML option has moved to FileBird -> Tools. Please see the attached screenshot.

hidden link

With the free plugin, I could replicate the problem of deleting images from one language and not deleting them from the other languages. I'm checking further and will update you here.

I appreciate your patience.
Itamar.

April 1, 2025 at 2:00 pm #16883367

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

I jumped to conclusions in my previous reply. To make images in the media library of other languages deleted when the original image is deleted, proceed with the following.

1. Go to WPML -> Settings -> Posts and pages synchronization.

2. Select the 'When deleting a post, delete translations as well' option. Please see the attached screenshot.

3. Click the Save button.

Now, when an image is deleted from the original language, the same images in other languages will also be deleted. I checked it on my test site, and it worked.

Please let me know if that works for you.

Regards,
Itamar.

2025-04-01_16-46-48.jpg