Skip to content

DefaultTextLocalizer.TryGet method

Gets the translation for a key based on the current UI culture language.

public string? TryGet(string key)
parameter description
key The local text key.

Return Value

The translated text, or null if no translation is found in the context language.

See Also