Spring Boot supports localized messages so that your application can cater to users of different language preferences.
By default, Spring Boot looks for the presence of a
messages resource bundle at the root of the classpath.
The auto-configuration applies when the default properties file for the configured resource bundle is available (i.e.
The basename of the resource bundle as well as several other attributes can be configured using the
spring.messages namespace, as shown in the following example:
MessageSourceProperties for more supported options.