Add rendering template + fix FlashMessages pre-registered structure

Fix flash messages to use translation