Localization

Low-level interface for localization. You can get an instance using getInstance.

You can customize how localization bundles are loaded, which container and template formats are supported with LocalizationMapProvider, LocalizationMapReader and LocalizationTemplate.

See also

Types

Link copied to clipboard
class Entry : Record

Functions

Link copied to clipboard
abstract fun get(path: String): LocalizationTemplate

Returns the LocalizationTemplate with the corresponding path, or null if there is no such entry.

Link copied to clipboard
abstract fun getEffectiveLocale(): Locale

Returns the effective locale of this localization map.

Link copied to clipboard
abstract fun getKeys(): Set<String>

Returns an unmodifiable set of keys this localization map contains, or null if unsupported.