Database notification translation
Hello,
Is it possible to translate a notification title on the fly if we store its key in the database?
I haven't seen anything like this in the documentation.
(The title should be displayed according to the user's language).
Thank you in advance!
2 Replies
Ok, it's fixed π
public function getTitle(): ?string
{
return __(parent::getTitle());
}
@BBB you can publish vendor translations for filament notifications as well π