This thread is resolved. Here is a description of the problem and solution.
How to bulk remove media duplicates
1) Go to the media version where you want to delete the files (change the media library language by changing dashboard language)
2) select "Bulk selection"
3) add this code in the browser console:
4) delete all the files
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.