See #42353
Is marked as solved
Is not solved
Joomla 5.1
Language constante which is shown in email:
Constant: PLG_SYSTEM_ACTIONLOGS_CONTENT_UPDATED
Value: User <a href="{accountlink}">{username}</a> updated the {type} <a href="{itemlink}">{title}</a>
Somehow the tag {message} is not working correctly.
Actual email
Labels |
Added:
No Code Attached Yet
|
Did some more digging and asked other users as well. As soon as mailtemplate is opened and saved, with or without changes, the changes are stored in the database (which makes sense). But then the received mail is wrong (see second attachment above). Deleting the record with the language tag restores the mail.
Only difference I see when I compare the com_actionlogs.notification record is that that is the only record that has the language constante COM_ACTIONLOGS_EMAIL_BODY in the field body as well as in the field htmlbody
I also recognize this problem on a multilingual website.
It seems that the CMS only focuses on the set language that the super user uses in the back-end.
If something is published or edited for another language, the SU will receive an email with the constant instead of the neat text.
I also hope that the Joomla developers find a solution for this.
Any news on this?
UPDATE:
This doesn't occur on a site that is updated from J4 to J5 or from J5.1.0 to J5.1.1.
But: when accessing System - Templates - Mail templates and opening (even without changing anything) User Actions Log: Notification Mail the same problem occurs.
Re-installing core files doesn't solve the issue.
Fresh install or update:
Blurred. But links are present.
After opening mail template: