Provides custom translations for Radzen components. Implement this interface and register it in the DI container to override the built-in English strings.
Namespace: Radzen
Assembly: Radzen.Blazor.dll
public interface ILocalizerReturns a localized string for the specified key and culture, or null to fall back to the built-in default.
public abstract string Get(string key, Globalization.CultureInfo culture)
| Type | Name | Description |
|---|---|---|
| string | key | The resource key. Use nameof(RadzenStrings.SomeKey) for compile-time safety. |
| Globalization.CultureInfo | culture | The culture to localize for. |
| Type | Description |
|---|---|
| string | The localized string, or null to use the built-in default. |