In rails7, I have a form, but I want the error messages to be displayed in another language, I can change the ones in the validations in the model e.g. user.rb, but the language of the message that appears at the top, for example :
"The form contains 8 errors"
I couldn't find a way to change it. How can I do that?