Category: flash-message

Translation of flash messages with parameters in Symfony 4

I have a problem with flash messages in Symfony 4 and translation. Translation of simple flash messages is working fine: $this->addFlash(‘success’, ‘flashmessage.project_deleted’); But now I want to add some parameters to the flash messages and I have no idea how…