Pending

User tests: Successful: Unsuccessful:

avatar laoneo
laoneo
16 Apr 2026

Pull Request resolves # .

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

When the language of the mail template differs from the application language, then the mail is still sent out in the language of the application and not the language of the mail template. This happens only when no configured mail template for that language is available and the mail subject and body needs to be loaded from the language string. This is mostly the case when an extension uses mail templates, but the are not configured yet.

Testing Instructions

  • Log in on the back end
  • Install a second language
  • Set the front end language in the user profile to the new installed language
  • Got to the global configuration server tab
  • Send a test mail

Actual result BEFORE applying this Pull Request

Mail is sent in English.

Expected result AFTER applying this Pull Request

Mail is sent in the new installed language.

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar laoneo laoneo - open - 16 Apr 2026
avatar laoneo laoneo - change - 16 Apr 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 16 Apr 2026
Category Libraries
avatar laoneo laoneo - change - 16 Apr 2026
Title
[5.4} Load the mail template from the language of the mail template
[5.4] Load the mail template from the language of the mail template
avatar laoneo laoneo - edited - 16 Apr 2026
avatar adarshdubey03 adarshdubey03 - test_item - 18 Apr 2026 - Tested successfully
avatar adarshdubey03
adarshdubey03 - comment - 18 Apr 2026

I have tested this item ✅ successfully on a8a88da

Tested Successfully!

Before applyting the patch, with the user frontend language set to German (de-DE), the test mail was still received in english.
image

After applying the patch, the test mail subject and body were received correctly in german.
image


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47603.

Add a Comment

Login with GitHub to post a comment