Currently I don't have a very good system for managing error or success messages, they are pretty much written inline with the code. Can someone suggest a best practice or something you are doing to be able to properly manage a large list of error and success messages through out an application.
Think internationalization ... some applications will have language files, then the app just pulls the strings from the specific file ... I'm thinking of implementing a similar concept for error and success messages and am curious what others have done along the same lines?