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

In statslib role names are not passing multilang filters

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.2.3, 3.3
    • 3.2.4, 3.3.1
    • Libraries
    • MOODLE_32_STABLE, MOODLE_33_STABLE
    • MOODLE_32_STABLE, MOODLE_33_STABLE
    • MDL-58756-statslib-roles-multilang
    • Easy
    • Hide
      1. Set up Moodle with at least another language pack, e.g. russian.
      2. Enable multilang filter, applied to both content and headings
      3. 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>
      4. Have a course with statistics by role to watch. Go and watch those.
      5. TEST: Make sure the role names when you call student (Learner) don't show any of the raw language tags but were interpreted.
      Show
      Set up Moodle with at least another language pack, e.g. russian. Enable multilang filter, applied 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> Have a course with statistics by role to watch. Go and watch those. TEST: Make sure the role names when you call student (Learner) don't show any of the raw language tags but were interpreted.

    Attachments

      Activity

        People

          lucaboesch Luca Bösch
          lucaboesch Luca Bösch
          Ankit Agarwal Ankit Agarwal
          Andrew Lyons Andrew Lyons
          David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
          David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
          Votes:
          0 Vote for this issue
          Watchers:
          3 Start watching this issue

          Dates

            Created:
            Updated:
            Resolved:
            10/Jul/17