from Bundle Or Parent
abstract fun fromBundleOrParent(@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 will be returned by getEffectiveLocale. This may 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