LocalizationService

@InterfacedService(acceptMultiple = false)
interface LocalizationService(source)

Service to retrieve Localization instances with the requested name and locale.

Functions

Link copied to clipboard
abstract fun getInstance(baseName: String, locale: Locale): Localization?

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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun invalidateLocalization(baseName: String)

Invalidates all the localization bundles with the specified base name.

abstract fun invalidateLocalization(baseName: String, locale: Locale)

Invalidates the localization bundles with the specified base name and locale.