wagtail-localize
wagtail-localize copied to clipboard
Video Files cannot be translated ('wagtailmedia.Media')
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='+' )

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.
Had a look over the weekend. This will require more work as localize doesn't know which chooser to use.