Picture of Rob Mausser
Retrieve default language from LMS?
by Rob Mausser - Tuesday, 7 September 2021, 9:01 PM
 

Is there a way for Adapt to recieve the default language set in an LMS, so that the courses never ask for language at startup, they just automatically are set to that language.

So, example > Adapt course with English and French. 

LMS set to French. 

Adapt courses always load in French.

Cheers

Picture of Paul Hilton
Re: Retrieve default language from LMS?
by Paul Hilton - Tuesday, 7 September 2021, 10:16 PM
 

In theory you could use … I’ve not tried.

“cmi.student_preference.language (CMIString (SPM: 255), RW) The student’s preferred language for SCOs with multilingual capability”

Paul

Picture of Oliver Foster
Re: Retrieve default language from LMS?
by Oliver Foster - Wednesday, 8 September 2021, 8:36 AM
 

You could otherwise set a different url per region. Adding ?lang=en would default to English.

Picture of Rob Mausser
Re: Retrieve default language from LMS?
by Rob Mausser - Wednesday, 8 September 2021, 2:30 PM
 

I'm not sure I understand

Adding this at the end of the URL the LMS uses to load the course did nothing