|
// Register the Syncfusion locale service to customize the SyncfusionBlazor component locale culture
services.AddSingleton(typeof(ISyncfusionStringLocalizer), typeof(SyncfusionLocalizer)); |
|
using Syncfusion.Blazor;
namespace BlazorApp1.Shared
{
public class SyncfusionLocalizer : ISyncfusionStringLocalizer
{
// To get the locale key from mapped resources file
public string GetText(string key)
{
return this.ResourceManager.GetString(key);
}
// To access the resource file and get the exact value for locale key
public System.Resources.ResourceManager ResourceManager
{
get
{
return BlazorApp1.Resources.SfResources.ResourceManager;
}
}
}
} |
|
FileManager_TooltipAddMarkup |
AddMarkup |