One of are clients are cleaning up there media library. And they requests if following is possibly.
1. When deleting image, all translations also be deleted. We know that there is a global option but that is also for Posts/Pages. We don't want that, we want to only be applying this for Media. If we can hook into an action or filter then that is possibly because we have knowledge of PHP.
2. Next thing is, when user upload in primary language (English) that image is available in all other languages. But when image is uploaded in other language it shouldn't be available in other languages. Is this possible?
1. In the WPML interface, there is no option to apply this setting only to Media.
2. There is also no direct option for the second request. You can either duplicate the image to all languages or not in WPML → Settings → Media Translation. Then disable “Automatically detect best options for translating image texts” and configure the settings manually according to your needs.