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

Role filter controls to the participants page and role column supporting multilang roles

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 3.4
    • Fix Version/s: None
    • Component/s: Enrolments, Language
    • Labels:
      None
    • Testing Instructions:
      Hide
      1. From site administration, active "Multi-Language Content" filter and be sure it applies to "Content and headings".
      2. From a course, active "Multi-Language Content" filter.
      3. Edit settings and rename the student role with content like this: "<span class="multilang" lang="en">Learner</span><span class="multilang" lang="ru">Ученик</span><span class="multilang" lang="de">Lerner</span><span class="multilang" lang="es">Alumno</span>".
      4. Go to participants and verify that Roles column only shows the student role name in the current language.
      5. Change current language to ru, de or es and check that Roles column content for students has changed with the corresponding language translation.

       

      Show
      From site administration, active "Multi-Language Content" filter and be sure it applies to "Content and headings". From a course, active "Multi-Language Content" filter. Edit settings and rename the student role with content like this: " <span class="multilang" lang="en">Learner</span><span class="multilang" lang="ru">Ученик</span><span class="multilang" lang="de">Lerner</span><span class="multilang" lang="es">Alumno</span> ". Go to participants and verify that Roles column only shows the student role name in the current language. Change current language to ru, de or es and check that Roles column content for students has changed with the corresponding language translation.  
    • Affected Branches:
      MOODLE_34_STABLE

      Description

      Discovered following testing MDL-59366.
      Multilang Role renaming isn't supported in new filter controls to the participants page and the role column in the participants page.

      In a environment with multilang filter activated, if you rename a role to e.g. <span class="multilang" lang="en">Learner</span><span class="multilang" lang="ru">Ученик</span><span class="multilang" lang="de">Lerner</span> the role column entries and the filter choices don't respect the filter.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              lucaboesch Luca Bösch
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), David Mudrák (@mudrd8mz), Helen Foster, Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: