True multilingual support for course content

Has it ever been consider to add support in OpenEdX for multilingual courses ? Not multiple copies in different languages, a single course that users can choose to have in two (or more) different languages. And what would it require ?

Our organization would be interested in that, and we could contribute PRs if that’s something that is deemed useful.

This could be broken down in multiple smaller steps, such as:

  1. Enabling multi-audio tracks in the video player. It currently already supports multiple subtitles, but not audio.

  2. Enabling translation of text items in Studio and Learner

  3. Enabling translation of quizzes elements

Yeah, we have also thought about that and started with building a multilingual text xblock
GitHub - WeBuddhist/xblock-multilingual-text: WB Academy Studio Multilingual-text XBlock · GitHub .

Nice! Do you have a solution to handle quizzes and videos ?

Also, do you plan on making releases of that xblock ?

Yes, there have been at least four different proposals:

Additionally, edx.org has already implemented an AI-based translation system that works on most course content without fundamental platform changes.

However, none of these approaches achieved enough buy-in to be built into the platform yet.

We at OpenCraft are interested in trying to move this forward, and @arunmozhi is working on a proposal for an MVP that could hopefully get more community support.

Hi @braden

Thanks for the pointers.

As somebody who works on a daily basis on multilingual content, I am happy to see people think about it.

I would however suggest to separate the case for AI-assisted/generated translation from multilingual content. I personally would never approve of just handing translation to an AI for the content we host. I have been way too often on the receiving end of badly auto-translated content to even consider it.

Even with the UI of OpenEdX itself, I have been fixing a lot of strings on the French_CA side of transifex. A lot of strings have been auto-translated incorrectly (and presumably not really been reviewed in context).

Yeah, I think we are most interested in an approach where AI tools can be used to help generate the translations (hopefully with a lot more context provided than the examples you’re talking about), but authors/translators still review and approve all the translations before they are incorporated into the course.

I would like to be able to disable such AI feature at the platform level, or organization level (or maybe to have it disabled by default). Whether the use of AI to translate content is acceptable or not is an organizational’s policy decision.

I forked and install your xblock. It is really really cool. At first sight, it is near perfect.

There seems to be a minor bug when you add a multilingual element and you create the missing components. After creating the components, they don’t show until you refresh the page, and then they do.

The other thing that would be missing is the translation of headers, unit/section titles.

I have been working with the help of Gemini to implement multilingual support for courses.

I thought I would post links to what it generated.

It required no code changes. Only one change to xblocks-core for the video xblock.

I am not yet done testing that everything is working as expected, but it seems promising.

There’s also the implementation details: tutor-plugins/docs/multilingual_implementation.md at cq/verawood.dev · calculquebec/tutor-plugins · GitHub

This is a feature that I’ve long wanted to see, but also one where I have many concerns about the complexity of the implementation. I laid out those concerns in this comment on one of the earlier proposals:

The TLDR of it is that there are many, many systems that touch content, and none of those systems will be multilingual-content-aware at the start. These are things like peer grading, unit-discussions, the gradebook, course outlines, mobile APIs, etc. I think that in order for multilingual content support to be consistent and maintainable, we need to be able to roll this out in a way that insulates most systems from having to understand it.

My straw-man proposal for that would be to make it so that the most of the LMS sees the translated content as different courses and course blocks, and to tie things together on the authoring and enrollment end to make it less cumbersome. Course content would be equivalent, but not necessarily identical. That has its own downsides of course, but it’s the most tractable approach I can think of.

I’m really looking forward to that. :smile:

@tenkal, I wonder if you would consider a PR on your xblock ? feat: sync default language with openedx-language-preference cookie (WIP) by mboisson · Pull Request #6 · WeBuddhist/xblock-multilingual-text · GitHub

This makes it so that the xblocks attempts to respect the openedx language cookie (unless the user changes language of the content after changing the language of openedx itself). I believe this provides a better user experience.

I opened a PR on the `xblocks-core` repository to support multiple audio tracks for a video. I tested it on our development OpenEdX instance.