This thread is resolved. Here is a description of the problem and solution.
Problem:
The client wants to know if it's possible to:
1. Automatically delete all translations of a media file when the original is deleted, but only for media files, not for posts/pages.
2. Ensure that media uploaded in the primary language (English) is available in all other languages, but media uploaded in other languages should not be available in other languages.
Solution:
1. Currently, WPML does not provide an option to apply automatic deletion settings exclusively to media files. This setting, if enabled, applies to all content types including posts and pages.
2. For the media availability settings, you can manually configure this in WPML → Settings → Media Translation. You should disable the option 'Automatically detect best options for translating image texts' and then set up the desired behavior for each language manually.
For further customization, you might consider using WPML hooks. You can find a list of available hooks here: WPML Hooks Reference.
If this solution does not fully address your needs or seems outdated, we recommend opening a new support ticket. We also advise 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. For further assistance, please visit our support forum 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 1 replies, has 0 voices.
Last updated by 1 week, 5 days ago.
Assisted by: Andrey.