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

In statistics report, multilang for role names is not supported in headers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.2.4, 3.3.1
    • 3.1.3, 3.2.3, 3.3, 3.4
    • Filters, Reports
    • MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
    • MOODLE_32_STABLE, MOODLE_33_STABLE
    • MDL-58577-statistics-report-header-multilang
    • Hide
      1. Have the Statistics switched to enabled (Administration > Site administration > Advanced features)
      2. Open a course an enrol a combination of students, teachers, and editing teachers
      3. Run generate_stats.php
      4. Run cron
      5. Install at least another language pack.
      6. Enable filter_multilang and apply to both Content and Headings
      7. As admin, in admin/roles/manage.php (Users > Permissions > Define roles) modify the student role's custom full name with a string containing those language tags, for example <span class="multilang" lang="en">Learner</span><span class="multilang" lang="ru">Ученик</span>
      8. Login as a teacher and open your course
      9. Navigate to the course statistic page (Administration > Course administration > Reports > Statistics) and view the page in English
        1. Open the Report type dropdown Confirm that the "All activity" reports all include the name of each role in English only
      10. Select Learner from the "Report type" pulldown and wait for the report to be generated
      11. Make sure the multilang is working when you switch languages
      Show
      Have the Statistics switched to enabled (Administration > Site administration > Advanced features) Open a course an enrol a combination of students, teachers, and editing teachers Run generate_stats.php Run cron Install at least another language pack. Enable filter_multilang and apply to both Content and Headings As admin, in admin/roles/manage.php (Users > Permissions > Define roles) modify the student role's custom full name with a string containing those language tags, for example <span class="multilang" lang="en">Learner</span><span class="multilang" lang="ru">Ученик</span> Login as a teacher and open your course Navigate to the course statistic page (Administration > Course administration > Reports > Statistics) and view the page in English Open the Report type dropdown Confirm that the "All activity" reports all include the name of each role in English only Select Learner from the "Report type" pulldown and wait for the report to be generated Make sure the multilang is working when you switch languages

      1. Have the Statistics switched to enabled (Administration > Site administration > Advanced features) and make sure data has been generated data to look up.
      2. Install at least another language pack.
      3. Enable filter_multilang and apply to both Content and Headings
      4. As admin, in admin/roles/manage.php (Users > Permissions > Define roles) modify the student role's custom full name with a string containing those language tags, for example <span class="multilang" lang="en">Learner</span><span class="multilang" lang="ru">Ученик</span>
      5. As a teacher, open the course statistic page (Administration > Course administration > Reports > Statistics)
      6. Select Learner from the "Report type" pulldown
      7. The multilang is not working

            lucaboesch Luca Bösch
            johno John Okely
            Ankit Agarwal Ankit Agarwal
            Andrew Lyons Andrew Lyons
            John Okely John Okely
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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