set up a way to override the messages with a localized version