Given:
*.properties
files for multiple languages Required:
Tried so far:
WicketApplication.get().getResourceSettings().getLocalizer()
- does not work, as no wicket application is available in the context of batch application. See org.apache.wicket.resource.loader.ComponentStringResourceLoader#loadStringResource(java.lang.Class, java.lang.String, java.util.Locale, java.lang.String, java.lang.String) [1]. This is where the magic happens.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.