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

Assignment - support multilanguage group names on 'view all submissions page'

    XMLWordPrintable

Details

    • MOODLE_401_STABLE, MOODLE_402_STABLE
    • MOODLE_401_STABLE, MOODLE_402_STABLE
    • MDL-78018-401
    • MDL-78018-402
    • Hide
      1. Log in as admin
      2. Navigate to Plugins > Filters > Manage filters in site administration
      3. Enable Multi-language content
        • Apply to: Content and headings
      4. Create a user
      5. Create a course
        • Group mode: Separate groups
      6. Enrol user as student in course
      7. Create a group named:

        <span class="multilang" lang="en">Group (EN)</span><span class="multilang" lang="de">Group (DE)</span>
        

      8. Add user to group
      9. Add an Assignment activity to the course
        • Group submission settings
          • Students submit in groups: Yes
      10. Log out
      11. Log in as student
      12. Navigate to assignment and add submission
      13. Log out
      14. Log in as admin
      15. Press View all submissions
      16. Confirm the Group column for the test user contains Group (EN) (correctly formatted)

      401, 402 & master only

      1. Ensure Group (EN) is chosen from Separate groups selection
      2. Select all users from the Submissions table
      3. From With selected... choose Download selected submissions
      4. Press Go
      5. Confirm the downloaded filename contains correctly formatted group name
      6. Open the downloaded file
      7. Confirm the folder name contains correctly formatted group name
      Show
      Log in as admin Navigate to Plugins > Filters > Manage filters in site administration Enable Multi-language content Apply to: Content and headings Create a user Create a course Group mode: Separate groups Enrol user as student in course Create a group named: <span class="multilang" lang="en">Group (EN)</span><span class="multilang" lang="de">Group (DE)</span> Add user to group Add an Assignment activity to the course Group submission settings Students submit in groups: Yes Log out Log in as student Navigate to assignment and add submission Log out Log in as admin Press View all submissions Confirm the Group column for the test user contains Group (EN) (correctly formatted) 401, 402 & master only Ensure Group (EN) is chosen from Separate groups selection Select all users from the Submissions table From With selected... choose Download selected submissions Press Go Confirm the downloaded filename contains correctly formatted group name Open the downloaded file Confirm the folder name contains correctly formatted group name

    Description

      Hi,

      While testing MOBILE-4288 we saw that on browser multilanguage group names are not correctly displayed in some cases in assignment.

      Assignment: teacher still see the multilanguage group names wrong. It shows all the names without the multilang, so "<span class="multilang" lang="de">Abgabegruppe</span> <span class="multilang" lang="en">Submission group</span> A" in any language is displayed as Abgabegruppe Submission A" (when in English it should have been Submission A and in Deutsch Abgabegruppe A)

      I think this was already happening on MDL-74606, one of the screenshots there show:

      I think this might had partially corrected elsewhere. I see (4.3dev which right now is a 4.2) it correctly when grading but I don't see it correctly on the view all submissions page:

      (This test is slightly different ans we used as a group name <span class="multilang" lang="es">Grupo</span><span class="multilang" lang="de">Abgabegruppe</span> <span class="multilang" lang="en">Submission group</span> A that is the reason that on the second screenshot the naming is different)

      Reproduction steps for assignment:
      In a course in which you possess teacher privileges:

      1. Create groups with names containing multilanguage strings, e.g. "<span class="multilang" lang="es">Grupo</span><span class="multilang" lang="de">Abgabegruppe</span> <span class="multilang" lang="en">Submission group</span> A"
      2. Be sure at least one of the students is on that group
      3. Add an assignment activity and configure it as follows:
        • 'Students submit in groups' to yes
      4. As a teacher access that assignment, and click on 'View all submissions'. See that the name of the group is wrong

      Thanks for your time,
      Isabel

      PD This is working correctly on the app already

      Attachments

        Issue Links

          Activity

            People

              pholden Paul Holden
              isabelrenedo Isabel Renedo Rouco
              Andrew Lyons Andrew Lyons
              Mihail Geshoski Mihail Geshoski
              Kim Jared Lucas Kim Jared Lucas
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Aug/23

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 46 minutes
                  1h 46m