Added the capability to generate locale messages.