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

Contact request email must respect the receiver's language

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Configure site outgoing mail (e.g. Mailhog or Mailcatcher)
      2. Navigate to Language > Language packs in Site administration
      3. Install the following language pack: "Deutsch (de)"
      4. Create a new user, setting their Preferred language to "Deutsch (de)"
      5. Navigate to Messaging > Messaging settings in Site administration
      6. Enable Allow site-wide messaging
      7. Open the messaging drawer
      8. Search for, and click on, your new user
      9. Press "..." and Add to contacts
      10. Confirm you do want to add the contact
      11. Open Mailhog/Mailcatcher
      12. Confirm the subject/message of the contact request notification is in German
      Show
      Configure site outgoing mail (e.g. Mailhog or Mailcatcher) Navigate to Language > Language packs in Site administration Install the following language pack: "Deutsch (de)" Create a new user, setting their Preferred language to "Deutsch (de)" Navigate to Messaging > Messaging settings in Site administration Enable Allow site-wide messaging Open the messaging drawer Search for, and click on, your new user Press "..." and Add to contacts Confirm you do want to add the contact Open Mailhog/Mailcatcher Confirm the subject/message of the contact request notification is in German
    • Affected Branches:
      MOODLE_36_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE, MOODLE_39_STABLE
    • Pull 3.8 Branch:
    • Pull 3.9 Branch:
    • Pull Master Branch:

      Description

      Steps to reproduce:

      • Login as admin
      • Install the language packs spanish and german
      • Create two users A and B
      • Login as user A
      • Set the user's language to spanish
      • Open the messaging system
      • Search user B
      • Add user B to your contact list
      • Wait until user B receives an email notification about the contact request

      Expected result:

      • User B will receive a notification about the contact request in german

      Actual result:

      • User B will receive a notification about the contact request in spanish

        Attachments

          Activity

            People

            Assignee:
            pholden Paul Holden
            Reporter:
            abias Alexander Bias
            Peer reviewer:
            Amaia Anabitarte
            Integrator:
            Víctor Déniz Falcón
            Tester:
            Janelle Barcega
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            2 Vote for this issue
            Watchers:
            9 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              14/Sep/20

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 15 minutes
                3h 15m