mdjnelson / moodle-mod_customcert

Enables the creation of dynamically generated certificates with complete customisation via the web browser.
https://moodle.org/plugins/mod_customcert
GNU General Public License v3.0
91 stars 158 forks source link

Email to users with Spanish language preference being sent in English, despite updates to language packs #432

Closed michael-vaughn closed 3 years ago

michael-vaughn commented 3 years ago

Hi all,

I don't believe this is 100% related to this report, but the response on this other report indicated we have set things up properly: https://github.com/mdjnelson/moodle-mod_customcert/issues/267

We're using a site with multiple language packs, including English (US) and Spanish (Mexico). We've updated the following strings in the Spanish language pack:

Changing these fields in the English language pack changed the body of the emails sent to learners. Changing the same fields in the Spanish language pack still results in the learners receiving the email in English, even when their language preference has been saved as Spanish. We have also purged the site caches multiple times, and confirmed it's not a browser auto-translation issue.

mdjnelson commented 3 years ago

Have you updated to the latest version? What version are you using? Either #402 and #412 should have fixed this and they were just patched on 3.8 onwards.

cam-howard commented 3 years ago

Hi Mark,

Updating to the latest version fixed this issue. It's now working great and the email message sent with the custom certificate is sent in the language specified by the user

Michael Vaughn and I were troubleshooting this for the same site. You can now close this issue. It works as designed.

Thanks, Cam

mdjnelson commented 3 years ago

Thanks for the update.