Resolving i18n Messages Outside GSPs and Controllers in Grails

Occasionally I need to use a message from an i18n resource in a service or domain object and every time I forget how. It’s a piece of cake in a controller or GSP because the message method is available, but when it’s not what do I do? Continue reading

Advertisements