|
Ok changed to use session one
Add a URL mapping to redirect to a controller:
"/" { controller = "book" } Soon we may make it possible to do: "/" { view = "/index" } >only works with .gsp located in view directory. index.gsp in root does not work
Actually locale changing only works with controllers, not with views. The former comment refers to that but does not explain. |
||||||||||||||||||||||||||||||||||||||||||||
CookieLocaleResolver is not working properly. Change to SessionLocaleResolver. works as expected.
SessionLocaleResolver can be configured in spring/resources.xml or this plugin can be changed to use the SessionLocaleResolver instead of the CookieLocaleResolver