Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.0 final
-
Fix Version/s: None
-
Component/s: Plugins
-
Labels:
Description
Documentation about I18N (http://grails.org/doc/latest/guide/i18n.html) specifies:
"Grails will automatically switch the user's locale and store it in a cookie so subsequent requests will have the new header."
I18nGrailsPlugin.groovy:113 handles the 'lang' parameter but only uses a SessionLocaleResolver.
The language cookie is never set.
Should the LocaleResolver use a chain of SessionLocaleResolver and CookieLocaleResolver? For example: http://www.coderanch.com/t/60835/oa/Spring-CookieLocaleResolver-SessionLocaleResolver
Hello!
Is there any changes related to this issue?