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

Multilang filter doesn't work consistently with all quiz question types

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.4
    • Fix Version/s: 1.6.9, 1.7.7, 1.8.8, 1.9.4
    • Component/s: Filters, Quiz
    • Labels:
      None
    • Environment:
      Postgres 8.2.0, PHP 4.3.9.
    • Database:
      PostgreSQL
    • Affected Branches:
      MOODLE_16_STABLE
    • Fixed Branches:
      MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      Hi,

      When the multilang filter is enabled (with "filter all string"=true), language filtering works with some quiz question types but not with all. In my tests with Moodle 1.6.4 at least "multiple choice"-type questions works well, but "matching"-type questions have some nasty issues. The problem with "matching"-type questions is that the question text (the text which asks the student to do something) itself gets filtered but the matches are not processed by the multilang filter: the matches show all the <span>-tagged language alternatives instead of just showing one language at a time. If you take a look at the attachment, you can see "SUOMEA"-text in the dropdown menu (shoudn't appear in the menu).

      I browsed thru the forums and found some messages with very similar problems. Some of the issues were published in September, 2004, but at least to me some of the issues seem to exist still in the newest 1.6.4 code. See:

      http://moodle.org/mod/forum/discuss.php?d=12797

      See also:

      http://docs.moodle.org/en/Filterall_support

      Yours,

      Olli S.

        Gliffy Diagrams

          Activity

          Hide
          dougiamas Martin Dougiamas added a comment -

          Nicolas, something for after gradebook ...

          Show
          dougiamas Martin Dougiamas added a comment - Nicolas, something for after gradebook ...
          Hide
          nicolasconnault Nicolas Connault added a comment -

          Fixed in 1.7.3, 1.8.3 and 1.9. Also checking if it can be fixed in 1.6

          I also added format_string() around the module name for the question preview popup page, since it was missing and didn't render other languages.

          Show
          nicolasconnault Nicolas Connault added a comment - Fixed in 1.7.3, 1.8.3 and 1.9. Also checking if it can be fixed in 1.6 I also added format_string() around the module name for the question preview popup page, since it was missing and didn't render other languages.
          Hide
          nicolasconnault Nicolas Connault added a comment -

          Just backported the fix to 1.6.6

          Show
          nicolasconnault Nicolas Connault added a comment - Just backported the fix to 1.6.6

            People

            • Votes:
              7 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                28/Jan/09