Skip to content Skip to sidebar

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

Problem:
You are trying to manage media files on your site after using WPML for translation and have noticed that the translated media files have become quite large.
Solution:
If you're experiencing issues with large media files after translation, it's important to understand that WPML Media Translation does not actually duplicate image files on your server. Instead, it creates new entries in the database for translated image captions, titles, meta text, and other details, all linked to the original image file. The original file remains stored only once on your installation. Therefore, if you delete entries from the media library, you're only removing these associated records, not the actual image files.

If this solution does not resolve your issue or seems irrelevant due to it being outdated or not applicable to your case, 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. Additionally, if you need further assistance, please open a new support ticket at WPML support forum.

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

Last updated by Marcel 1 year, 6 months ago.

Assisted by: Marcel.

Author Posts
October 11, 2024 at 9:43 pm #16281258

abdulB-6

Background of the issue:
I am trying to manage media files on my site hidden link after using WPML for translation. The translated media files have become quite large.

Symptoms:
The media files have become quite large after translation.

Questions:
How can I remove the translated media files?
What steps should I follow to delete the translated media?

October 11, 2024 at 11:01 pm #16281332

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi there.

Can you please elaborate a bit more on this matter?

As explained here (https://wpml.org/forums/topic/media-translation-duplicate-images/#post-12263355), WPML doesn't duplicate media files, it only creates a record in the database.

So I'm not sure what you mean by the media files becoming large.

Any extra information will help us better understand the situation.

Please let us know.

Thank you.

Mihai

October 12, 2024 at 7:09 am #16281669

abdulB-6

PFA. there are multiple media files that wpml created and i want to delete all of them except original single file.

October 14, 2024 at 2:40 pm #16286701

Marcel
Supporter

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

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

Hi,

My name is Marcel, and I’ll be taking over your ticket.

It seems there’s some confusion about how WPML Media Translation works. Please note that WPML Media Translation does not duplicate image files on your server.

When we mention "duplication," we’re referring to new entries created in the database for translated image captions, titles, meta text, and other details. These entries are linked to the original image file, which remains stored only once on your installation. So, while you may have multiple records for the same image, they all point to the same file and URL.

If you delete entries from the media library, you're only removing the associated records, not the actual image files.

Best regards,
Marcel