LocalizationMapProvider

@InterfacedService(acceptMultiple = true)
interface LocalizationMapProvider(source)

Supplies a LocalizationMap for the requested bundle name and locale. This is an intermediary step, often using existing LocalizationMapReaders.

Usage: Register your instance as a service with BService or any annotation that enables your class for dependency injection.

See also

Inheritors

Properties

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun fromBundle(@NotNull baseName: @NotNull String, @NotNull requestedLocale: @NotNull Locale): @Nullable LocalizationMap
Loads a localization map with the requested name and requested locale.
Link copied to clipboard
abstract fun fromBundleOrParent(@NotNull baseName: @NotNull String, @NotNull requestedLocale: @NotNull Locale): @Nullable LocalizationMap
Loads a localization map with the requested name and requested locale.