Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add ai_languages field #4585

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

feat: add ai_languages field #4585

wants to merge 1 commit into from

Conversation

zawan-ila
Copy link
Contributor

@zawan-ila zawan-ila commented Feb 24, 2025

PROD-4306

This PR adds a new field ai_languages on the CourseRun model. This field is intended to replace the current translation_languages field. However, we do not remove the translation_languages field to prevent any issues with rolling deployments where the "older" servers would still be expecting the translation_languages field to exist.

null=True,
blank=True,
help_text=_('A JSON dict detailing the available translations and transcriptions for this run. '
'The dict has two keys: translation_languages and transcription_languages.')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • The keys should reflect the content and transcription languages. translation_languages does not reflect that it is related to content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants