See the light - agile, industrial strength, rapid web application development made easy

(Quick Reference) # 13.2 Changing Locales - Reference Documentation Authors: Graeme Rocher, Peter Ledbrook, Marc Palmer, Jeff Brown, Luke Daley, Burt Beckwith, Lari Hotari Version: 2.3.8 ## 13.2 Changing Locales By default the user locale is detected from the incoming `Accept-Language` header. However, you can provide users the capability to switch locales by simply passing a parameter called `lang` to Grails as a request parameter:
    /book/list?lang=es
Grails will automatically switch the user's locale and store it in a cookie so subsequent requests will have the new header. | Quick Reference (hide)