Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-61286

Drag-drop question types don't allow multilang filter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.3.4, 3.4.1, 3.5
    • Questions
    • MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • MDL-61286-master
    • Hide

      Set-up

      1. Enable the multilang filter for content and headings.
      2. Install at least one other language, to make test cases work, you need Russian.
      3. Have the site language set to English.
      4. Install the https://moodle.org/plugins/filter_multilang2 plugin.
      5. In a course, go to question bank and import the attached file questions-quiz1-MDL-61286-20221214-1556.xml.

      Check preview

      1. In the question bank go to the new imported category MDL-61286 that contains the imported questions.
      2. In the action list select preview on the first question.
      3. In the peview window check that you only see the labels in English.
      4. Drag and drop the correct answers into the spaces and click "Submit and finish" button.
      5. You should see the message "Your answer is correct."
      6. Open the Preview section and click the button "Start again with these options".
      7. When the page has reloaded edit the URL field and add &lang=ru at the end of that URL and hit enter.
      8. In the peview window check that you only see the labels in Russian.
      9. Drag and drop the correct answers into the spaces and click "Отправить и завершить" button.
      10. You should see the message "Your answer is correct."
      11. Edit the URL field and add &lang=en at the end of that URL and hit enter.
      12. You see again the submitted data in English. Click the button "Close preview".
      13. Go back to step 2 and continue with the next question.
      Show
      Set-up Enable the multilang filter for content and headings. Install at least one other language, to make test cases work, you need Russian. Have the site language set to English. Install the https://moodle.org/plugins/filter_multilang2 plugin. In a course, go to question bank and import the attached file questions-quiz1-MDL-61286-20221214-1556.xml . Check preview In the question bank go to the new imported category MDL-61286 that contains the imported questions. In the action list select preview on the first question. In the peview window check that you only see the labels in English. Drag and drop the correct answers into the spaces and click "Submit and finish" button. You should see the message "Your answer is correct." Open the Preview section and click the button "Start again with these options". When the page has reloaded edit the URL field and add &lang=ru at the end of that URL and hit enter. In the peview window check that you only see the labels in Russian. Drag and drop the correct answers into the spaces and click "Отправить и завершить" button. You should see the message "Your answer is correct." Edit the URL field and add &lang=en at the end of that URL and hit enter. You see again the submitted data in English. Click the button "Close preview". Go back to step 2 and continue with the next question.

      Allow the labels to drag onto an image to have multilang labels.

      Rules about which HTML tags are allowed should be relaxed to allow Standard Moodle multilang https://docs.moodle.org/34/en/Multi-language_content_filter to work. multilang2 https://moodle.org/plugins/filter_multilang2 should probably also be supported.

        1. MDL-61286-before.png
          MDL-61286-before.png
          100 kB
        2. MDL-61286-en.png
          MDL-61286-en.png
          92 kB
        3. MDL-61286-ru.png
          MDL-61286-ru.png
          97 kB
        4. questions-quiz1-MDL-61286-20221214-1556.xml
          2.14 MB
        5. quiz-drag.png
          quiz-drag.png
          230 kB
        6. redblue.png
          redblue.png
          15 kB

            strobotta Stephan Robotta
            lucaboesch Luca Bösch
            Mathew May Mathew May
            Votes:
            7 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours
                3h

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.