最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

ruby on rails - Changing the language of "The form contains 1 error" in Rails7 - Stack Overflow

programmeradmin2浏览0评论

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?

发布评论

评论列表(0)

  1. 暂无评论