← Back to team overview

mahara-contributors team mailing list archive

[Bug 1827812] A change has been merged

 

Reviewed:  https://reviews.mahara.org/10134
Committed: https://git.mahara.org/mahara/mahara/commit/8af3a59933d9b31997a33d2086146b37315e8545
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit 8af3a59933d9b31997a33d2086146b37315e8545
Author: Doris Tam <doristam@xxxxxxxxxxxxxxx>
Date:   Wed Jun 26 18:21:12 2019 +1200

Bug 1827812: Ensure people receive notifications in their preferred
language

'Preferred language' is the language they set in their account settings.

It does not mean that text that is written in a different language is
translated automatically. Only Mahara provided language strings are
of concern here.

Note: Preferred language can be changed if user changes language via
the language switcher before logging in

behatnotneeded

Change-Id: I9eebd522bfc222c0dbfa87c5ca5217f4a50d402b

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1827812

Title:
  The Site admin email for new registrants is sent in wrong language

Status in Mahara:
  Fix Committed
Status in Mahara 19.04 series:
  Fix Committed
Status in Mahara 19.10 series:
  Fix Committed

Bug description:
  TITLE:  The Site admin email for new registrants is sent in wrong
  language

  BUG SUMMARY: When there are multiple languages set for a site and a
  new registrant wants to register in a language other than English, an
  email should be sent to the Site admin in the Site admins preferred
  language.

  ==============================================

  PRECONDITIONS: 
  ------------------------ 
  1) Site with a couple of languages installed (German French & English)
  2) Site options for Institutions - "Confirm registration" toggle is set to = Yes (Force all institutions to approve new self-registered accounts) 
  3) Institution Exists (Institution One) and has the following 
      a) Registration allowed toggle is set to = Yes 
  4) Site admin's preferred language is set to English 

  TEST STEPS: 
  ------------------------ 
  1) Person wanting to register for an account changes the interface language to something other than english (site admin stays on english) and registers for an account.
  2) Verify Site admin receives an email message in the language that the Site admin has set.

  EXPECTED RESULT: 1) The admin should get the notification in the language they have set, not the one that the registrant had set.
  2) The registrant should receive an email of their registration in the same language they used when submitting the application.

  ACTUAL RESULT: 1) The languages sent to the Admin are the languages that the Registrant registered in & The languages sent to the Registrant are the languages that the Registrant registered in ✘
  2) The registrant received an email of their registration in the same language they used when submitting the application.✔

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1827812/+subscriptions


References