Add fallbackToSystemLocale configuration key

Allow to configure the `fallbackToSystemLocale` attribute of
`MessageSource` via configuration.

Closes gh-3749
This commit is contained in:
Eddú Meléndez
2015-08-13 10:56:02 -05:00
committed by Stephane Nicoll
parent c15a670c6d
commit 74e1a1c940
3 changed files with 51 additions and 5 deletions

View File

@@ -279,6 +279,7 @@ content into your application; rather pick only the properties that you need.
spring.messages.basename=messages
spring.messages.cache-seconds=-1
spring.messages.encoding=UTF-8
spring.messages.fallback-to-system-locale=true
[[common-application-properties-security]]
# SECURITY ({sc-spring-boot-autoconfigure}/security/SecurityProperties.{sc-ext}[SecurityProperties])