I'm working with Sonata Admin Bundle and I'm trying to remove or rewrite default message for success: "Item X has been successfully created."
How can I do that ? Is there any possibility to set new message as parameter and rewrite the default message ?
Create a file called SonataAdminBundle.en.yml
in app/Resources/translations
and add the following translation:
flash_create_success: Item "%name%" created!!!!
See: http://symfony.com/doc/current/bundles/override.html#translations
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.