mediacms-io / mediacms

MediaCMS is a modern, fully featured open source video and media CMS, written in Python/Django and React, featuring a REST API.
https://mediacms.io
GNU Affero General Public License v3.0
2.75k stars 505 forks source link

No languages in the Add Subtitle screen #554

Open KyleMaas opened 1 year ago

KyleMaas commented 1 year ago

Describe the issue When I go to add a subtitle file, the dropdown for Language only shows one option:

Language *
---------

There are no actual selectable options other than the placeholder, so I cannot upload subtitles.

To Reproduce Steps to reproduce the issue:

  1. Click on a video
  2. Click Edit Subtitle
  3. Click Language dropdown
  4. No options presented

Expected behavior I would expect at least the primary language of the system to be displayed, if not all languages that MediaCMS supports.

Screenshots MediaCMS-BugReport-Subtitles-Screenshot-2022-10-21

Environment (please complete the following information):

EDIT: Wrong server OS version

KyleMaas commented 1 year ago

Ah, looks like you can define languages in the Django Administration panel. Would be helpful if there was maybe something on that page that directed you as to how to do that if there were no languages available in the list.

mgogoulos commented 1 year ago

Hi, I'll let this open as an issue as the experience can be improved, either through a hint as you suggest, or also through a default set of languages (that could be deleted through the admin)