wagtail-localize icon indicating copy to clipboard operation
wagtail-localize copied to clipboard

Video Files cannot be translated ('wagtailmedia.Media')

Open hennabanana opened this issue 3 years ago • 7 comments
trafficstars

Hi there,

currently its not possible to upload a Video for a Video-Media-File in a another language (https://github.com/torchbox/wagtailmedia). After Translating the Page, its just empty.

is it possible to add this datatype so that i can upload an video in another language by the MediaChooserPanel?

class VideoSlidePage(Page):

   video = models.ForeignKey(
        'wagtailmedia.Media',
        null=True,
        blank=True,
        verbose_name=_('Video'),
        on_delete=models.SET_NULL,
        related_name='+' )

Screenshot 2022-06-22 at 08 32 07

hennabanana avatar Jun 22 '22 06:06 hennabanana

Hey @hennabanana, thank you for bringing this up.

Hmm, I would've thought this would be handled by the fallback logic. Will try to have a look sometime soon.

zerolab avatar Jun 24 '22 10:06 zerolab

Had a look over the weekend. This will require more work as localize doesn't know which chooser to use.

zerolab avatar Jul 04 '22 08:07 zerolab