Multilang in Drag and Drop Question

Multilang in Drag and Drop Question

by Til Zumbrunn -
Number of replies: 3

Hi,

I'm using the multilang filter in moodle 3.6 in different ways already, but I'm struggling with the drag and drop questions.

What I did was puting the following lines in choice 1 and choice 2.

  • Choice 1: <span lang="de" class="multilang">German A</span><span lang="en" class="multilang">English A</span>
  • Choice 2: <span lang="de" class="multilang">German B</span><span lang="en" class="multilang">English B</span>

When I do this, the question looks like this wether I choose German or English on the moodle site:

Is something wrong with the code or what am I doing wrong?

Best regards,

Til 


Average of ratings: -
In reply to Til Zumbrunn

Re: Multilang in Drag and Drop Question

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

This is a known issue: MDL-61286. I had a go at fixing this a while ago, and it was not possible wihtout breaking other things. See this comment.

Dominique's suggestion to use multilang2 is your best option.

In reply to Tim Hunt

Re: Multilang in Drag and Drop Question

by Til Zumbrunn -

Good to know. Thanks to both of you for your help!