Closed codeconsole closed 1 month ago
request.locale gets the user's locale, but not the locale set by the user.
g:message gets the locale set by the user and what is used by all the other locations of this plugin.
this fix makes the behavior consistent with the rest of the plugin.
https://github.com/grails/grails-gsp/blob/7ad985676e6217ad331f75aafad8258c1cb9d8cb/grails-plugin-gsp/src/main/groovy/org/grails/plugins/web/taglib/FormatTagLib.groovy#L336-L349
request.locale gets the user's locale, but not the locale set by the user.
g:message gets the locale set by the user and what is used by all the other locations of this plugin.
this fix makes the behavior consistent with the rest of the plugin.
https://github.com/grails/grails-gsp/blob/7ad985676e6217ad331f75aafad8258c1cb9d8cb/grails-plugin-gsp/src/main/groovy/org/grails/plugins/web/taglib/FormatTagLib.groovy#L336-L349