Localized Database Notifications. #19334
Unanswered
ahmed-rashad-alnaggar
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Package
Notifications
Package Version
v5.0
How can we help you?
Hi there,
I was wondering why the ability to have localized database notifications isn't there, I know that the
NotificationclasstoArray()function evaluates the title or the body to its value, but why is that, can't it just serialize them if they are closures which will add more consistency? (this is the current behavior of mine).Has anyone else tackled this? Would it make sense to add a
->translatableTitle()method or something similar? Or is there already a recommended pattern for localizing persisted notifications?Beta Was this translation helpful? Give feedback.
All reactions