Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ResourceBundleThemeSource could expose the property fallbackToSystemLocale of ResourceBundleMessageSource [SPR-13209] #17801

Closed
spring-issuemaster opened this issue Jul 7, 2015 · 1 comment
Assignees
Milestone

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Jul 7, 2015

Jordi Llach Fernandez opened SPR-13209 and commented

ResourceBundleThemeSource is responsible for creating a MessageSource, which in fact is a ResourceBundleMessageSource, the last one can be configured to avoid using the fallback to system locale mechanism by setting fallbackToSystemLocale to false.

I think it would be useful to make this property visible to ResourceBundleThemeSource in order to create MessageSource s system locale aware or not.


Issue Links:

  • #12050 Make ResourceBundleMessageSource more flexible (catching up with Java 6's java.util.ResourceBundle)

Referenced from: commits c7fef87

@spring-issuemaster
Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster commented Jul 13, 2015

Juergen Hoeller commented

As of 4.2, we're exposing fallbackToSystemLocale as well as defaultEncoding on ResourceBundleThemeSource as well.

Juergen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.