F
Filamentβ€’10mo ago
BBB

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!
No description
2 Replies
BBB
BBBOPβ€’10mo ago
Ok, it's fixed πŸ™‚ public function getTitle(): ?string { return __(parent::getTitle()); }
CerealKiller
CerealKillerβ€’10mo ago
@BBB you can publish vendor translations for filament notifications as well πŸ™‚
Want results from more Discord servers?
Add your server