flash messages should be written in locale(I18n) file.