Storing and accessing message strings

I want to store my notices, feedback and messages in a separate file
and then access them in my views, like how JSP handles its
Property.messages. What's the best way to do this?

Thanks in advance - K