localizeUserOrNull

fun AppLocalizationContext.localizeUserOrNull(localizationPath: String, vararg entries: PairEntry): String?(source)

Localizes the provided path, with the user's locale, or returns null if the path does not exist.

Return

The localized string

Parameters

localizationPath

The path of the localization template, prefixed with localizationPrefix

entries

The entries to fill the template with