Skip Navigation

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

Problem:
After installing and then deleting WPML, you noticed duplicated images in your library and are seeking a way to eliminate these duplicates.
Solution:
If you're experiencing duplicated images in your library after uninstalling WPML, we recommend reinstalling WPML and following our guide to remove second language data, which might help in clearing out duplicates. You can find the guide here: Deleting Languages and Plugin Data by Doing a WPML Reset on Your Site.
If this does not resolve the issue, the remaining solution would be to manually select and delete the duplicate images.

Please note that the solution might be irrelevant if it's 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. If the problem persists, 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.

This topic contains 9 replies, has 2 voices.

Last updated by Dražen 7 months, 3 weeks ago.

Assisted by: Dražen.

Author Posts
October 21, 2024 at 3:37 am #16309765

samutN

Background of the issue:
After installing and deleting WPML, I noticed double images in the library. I am trying to delete the duplicated images and keep the original image. You can log in and edit using the following credentials: User: hidden link Pass: v9VEzFR2CB. The issue can be seen here: hidden link

Symptoms:
I expected to see one image without duplication, but the image duplication still exists.

Questions:
How can I eliminate the duplicated images in the library?
Why are images duplicated after installing and deleting WPML?

I am apologized, if possible Pls HELP ME FIX this ASAP (i am very late for this project) Thank you so much for your kindness!

October 21, 2024 at 7:18 am #16310431

Dražen
Supporter

Languages: English (English )

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

Hello,

I am afraid now that WPML is removed, there is no WPML data so all of these images are the same. You can try re-installing WPML and following next guide to remove 2nd language data:

https://wpml.org/documentation/getting-started-guide/language-setup/deleting-languages-and-plugin-data-by-doing-a-wpml-reset-on-your-site/

Otherwise, I am afraid there is not other way than to select and manually delete the duplicates.

Regards,
Drazen

October 22, 2024 at 1:43 am #16314733

samutN

Dear Drazen,

I have reinstalled WPML and follow your instructions

1)See attachment pls, should i delete akismet po and mo files ? or keep them as it is?
2) see attachment, Under ../wp-content/languages/ there is no theme folder (only plugins and wpml folders) ,what should i do? pls kindly advise?
Thank you very much
Pipe

pls note duplicated image is solved, but i want to make sure to delete all the unneccessary things and follow the correct method 🙂

Screenshot 2567-10-21 at 15.27.47.png
Screenshot 2567-10-21 at 15.30.21.png
October 22, 2024 at 6:28 am #16315170

Dražen
Supporter

Languages: English (English )

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

Hello Pipe,

if you wish to remove the translation for that plugin in other languages, then yes you can also delete those files, but only in languages you are not using anymore.

Regards,
Drazen

October 22, 2024 at 6:33 am #16315196

samutN

1st attachment, i ll delete 3 th akismet files ?

2nd attachmebt, i ll delete more than 10 files that has th inside the filename?

Could you pls kindly confirm ? If there is any files i shoud not Touch?

Thanks
Pipe

October 22, 2024 at 6:37 am #16315215

Dražen
Supporter

Languages: English (English )

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

Hello,

those are translation files coming from plugin/themes you are using, not WPML. WPML files created are only in wpml folder. But if you are not using anymore TH language anywhere, you can delete all language files starting / finishing with TH language code.

Regards,
Drazen

October 22, 2024 at 6:42 am #16315222

samutN

Hi drazen,

Sorry i am quite novice/ beginner 🙂 . Do you mind helping me hightlight the files i can delete.

Thanks alot
Pipe

October 22, 2024 at 6:51 am #16315230

Dražen
Supporter

Languages: English (English )

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

Hello Pipe,

I am not sure what language you removed or not using, but as said if you are not using TH language anymore, you can delete those files, shared in the image with me.

Regards,
Drazen

October 22, 2024 at 8:01 am #16315488

samutN

Hi Drazen,

i will not use WPML for this site, so it will be only ENG.
NO thai translation is needed for this site.

pls kindly confirm by the image i have highlighted the files i plan to delete?

Screenshot 2567-10-22 at 15.00.20.png
Screenshot 2567-10-22 at 15.00.39.png
October 23, 2024 at 6:28 am #16319979

Dražen
Supporter

Languages: English (English )

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

Hello,

yes, then you can delete those TH files.

Regards,
Drazen