public interface LocalisationService
MessageSource
to get localised messages.
This service should only be used to save new values for localised strings.Modifier and Type | Method and Description |
---|---|
LocalisedString |
getLocalisedString(String code,
String locale)
Gets a localised String.
|
void |
saveLocalisedString(String code,
Map<String,String> stringLanguage)
Saves a localised String.
|
LocalisedString getLocalisedString(String code, String locale)
code
- Code of the string to getlocale
- The locale to get the String for.void saveLocalisedString(String code, Map<String,String> stringLanguage)
code
- Code as which to save the String.stringLanguage
- Map of language code to the actual string.Copyright © 2011–2014 The Kuali Foundation. All rights reserved.