from Bundle
abstract fun fromBundle(@NotNull baseName: @NotNull String, @NotNull requestedLocale: @NotNull Locale): @Nullable LocalizationMap(source)
Loads a localization map with the requested name and requested locale. This may return a localization bundle with a broader locale, which must be returned by getEffectiveLocale.
Note: this does NOT include parent bundles.
Return
A LocalizationMap instance with the requested data, or null
if no bundle could be read, or a (logged) exception happened.
Parameters
base Name
The base name of the localization bundle
requested Locale
The requested locale