Closed mxgross closed 4 years ago
Use addFlashTranslated()
instead of addFlash()
.
Then you have to use flashmessages.de.xlf
for translation.
Thanks. I implemented it for de and en
Ups forgot: you could even use flashSuccess()
, flashWarning()
and flashError()
to get rid of your own constants and to be safe for coming updates.
Currently the flash messages are hardcoded in english. They should be made translatable and be available at least in english and german.