Note that the Spring Boot app supports multiple languages, and I was in trouble because the value of message.properties
was not used and the value of jp
was not used.
With the default settings, the server's system language is used as the default if the language file does not exist.
This behavior is because spring.messages.fallback-to-system-locale
is true
by default.
If this is set to false
, the value of message.properties
will be used if the locale does not have a language file.
Recommended Posts