I'm working in grails v3.2.9 / sec plugin v3.1.2.
Followed this guide to add locale selection on the GUI http://guides.grails.org/grails_i18n/guide/index.html (set locale by the lang param).
When I change the locale from the GUI, every text on the GUI changes to the selected locale without any problems.
When I try to login with a wrong user, spring security is showing the error message (code=springSecurity.errors.login.fail) always in spanish, even if english is selected.
On a different machine, the login fail message is always shown in english even if I select lang=es (spanish).
Not sure why it is not considering the locale set by the lang param and is fixing the locale for that specific message. Not sure what is the issue here. Any pointers are welcome.
This is my project: https://github.com/ppazos/notes