getInstance

abstract fun getInstance(baseName: String, locale: Locale): Localization?(source)

Gets the localization instance for the specified bundle name and locale.

This cycles through all the available LocalizationMap providers until one returns a valid localization bundle.

Return

The localization instance for this bundle

Parameters

baseName

The name of the bundle

locale

The locale of the bundle