public void populateL10nStrings ( ) { AllPropertiesMessageSource allPropertiesMessageSource = new AllPropertiesMessageSource ( ) ; String [ ] namespaces = localizationMessageSources . stream ( ) . map ( PropertiesMessageSource :: getNamespace ) . toArray ( String [ ] :: new ) ; allPropertiesMessageSource . addMolgenisNamespaces ( namespaces ) ; localizationPopulator . populateLocalizationStrings ( allPropertiesMessageSource ) ; }
Populates dataService with localization strings from property files on the classpath .