How to make a course that can be translated into other language as user change language prefrence language

There was a way to self-select a cohort here: Self-assigned cohorts - #2 by bpedx. If you can get that working (I haven’t), then you could create N copies of the content for N languages, and then have the student self-select a language cohort at the beginning of the class. And then basically based on whatever they select, they’d be shown the 1 of N copies of the material you created for that 1 language.