Pages

▼
Showing posts with label i18n. Show all posts
Showing posts with label i18n. Show all posts
Saturday, February 15, 2014

Accessing i18n Messages from exception (validation errors) in Grails in a Service

›
To access your message, inject the MessageSource into your service: def messageSource   And to get the error messages from exception b...
Wednesday, December 11, 2013

Change i18n locale from a controller before calling the view

›
package pritom . com . locale ; import org.springframework.web.servlet.support.RequestContextUtils as RCU class FormController { ...
Monday, December 9, 2013

Reading i18n messages from the database with Grails

›
At first create a model class: package com . locale . messaging class Message { String code Locale locale String te...
›
Home
View web version
Powered by Blogger.