We need to translate media files (images and PDFs) into other languages. We have made the following changes:
We've inherited the ILocalizable interface for media models like images and PDFs, and we've added three new properties: ExistingLanguages, MasterLanguage, and BinaryData.
We created a scheduled job to set the default language to English for all media.
Because of these changes, we can now translate media file properties like the title, description, and other fields.
Issue: After we upload a translated PDF, the CMS asks us to replace the existing file. We have done this, but the new file is not showing up in the preview mode.
How can we achieve this? Could you please suggest a better approach?
We need to translate media files (images and PDFs) into other languages. We have made the following changes:
Because of these changes, we can now translate media file properties like the title, description, and other fields.
Issue: After we upload a translated PDF, the CMS asks us to replace the existing file. We have done this, but the new file is not showing up in the preview mode.
How can we achieve this? Could you please suggest a better approach?