Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-6007

Multilingual report names and query results are not processed through Moodle filters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.10
    • Fix Version/s: None
    • Labels:
      None

      Description

      If report names or report data (from SQL reports) contain language tags, the strings of text are not processed through Moodle filters.

      For example, I use the multilangsecond filter in non-HTML mode and tag my report names and content throughout the site like:

      {mlang en}Student List{mlang}{mlang fr}Liste des étudiants{mlang}

      WHAT I EXPECTED

      I expected language tags in report names and in query result content to be filtered, resulting only in text being displayed in the current user interface language. Using the above example, and with the filter enabled in Moodle to process non-HTML tags, what should be displayed is:

      Student List

      WHAT ACTUALLY HAPPENS

      Report names and content resulting from queries display as:

      {mlang en}Student List{mlang}{mlang fr}Liste des étudiants{mlang}

      Let me know if you have any questions.

      Best regards,

      Michael Milette

        Attachments

          Activity

            People

            • Assignee:
              jleyva Juan Leyva
              Reporter:
              michael-milette Michael Milette
              Participants:
              Component watchers:
              Juan Leyva, Sara Arjona (@sarjona)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: