Change language of Validation Bean messages to PT_BR

Asked

Viewed 10 times

0

Hello, how do I change the language of Validation Bean messages to PT_BR? I want to force the default messages of Bean validation to be in PT_BR.

  • Please edit the question to limit it to a specific problem with sufficient detail to identify an appropriate answer.

1 answer

0

I decided to put the following configs in the application.properties:

spring.web.locale=pt_BR
spring.web.locale-resolver=fixed

Browser other questions tagged

You are not signed in. Login or sign up in order to post.