Skip to content

FallbackLocalTextSource.TryGet method

Returns the localized representation that corresponds to the local text key, or a fallback if none is found in the registry.

public string? TryGet(string languageID, string key, bool pending)
parameter description
key The local text key (e.g. Enums.Month.June).
languageID The language identifier.
pending If pending approval text should be used.

Return Value

The localized text, a fallback, or null if none is found.

See Also