public interface LanguageManagerInterface
| Modifier and Type | Method and Description |
|---|---|
Locale |
getCurrentLocale()
Get the current locale, loaded with loadLocale.
|
String |
getString(String label)
Get the localized string corresponding to the label.
|
String |
getString(String label,
String... params)
Get the localized string corresponding to the label and format it with the parameters.
|
Locale |
loadLocale(String region,
String country)
Load the locale corresponding to the region and the country and store it in the object.
|
Locale loadLocale(String region, String country)
region - the locale's regioncountry - the locale's countryString getString(String label)
label - the label to findString getString(String label, String... params)
label - the label to findparams - the parameters used to format the localized stringLocale getCurrentLocale()
Copyright © 2016. All Rights Reserved.