Validation errors are not translated to selected locale


#1

When using Antl to translat emessages everything works fine but…
I use a validator class to do the validation, in this class i get the messages with

get messages() {
return antl.list(‘validators’)
}

‘validators’ exist for all the locales in the different languages.

when i have a validation error in the form, the validation returns always in the (standard language) and not the language set with

antl.switchLocale(session.get(‘locale’))

all the rest of the form is correct translated.

what can this be ?