This sample demonstrates how to localize and globalize the Syncfusion Blazor DataGrid by loading culture-specific CLDR resources in a Blazor client application. The implementation focuses on configuring the Grid to display localized text and culture-aware formatting based on the selected or configured culture. Using CLDR data ensures that dates, numbers, currencies, and other culture-dependent values are rendered consistently according to regional standards.
- Demonstrates globalization support for the Syncfusion Blazor DataGrid.
- Uses CLDR (Common Locale Data Repository) resources to provide culture-specific formatting information.
- Shows how localized Grid text and culture-aware formatting can be applied within a Blazor client application.
- Includes culture configuration required for localized DataGrid rendering.
- Visual Studio 2022 or Visual Studio Code
Visual Studio 2022
- Clone or download this repository.
- Open the solution located within the repository using Visual Studio 2022.
- Restore all NuGet packages required by the project.
- Build the application to verify that dependencies and localization resources are configured correctly.
- Run the project.
- Open the page hosting the Syncfusion Blazor DataGrid and observe the localized UI text and culture-aware formatting applied through the CLDR resources.
Visual Studio Code
- Open the repository folder in Visual Studio Code.
- Open the integrated terminal.
- Navigate to the project directory.
dotnet restore
dotnet runBlazorApp1/wwwroot/— stores static resources used by the application, including localization and globalization assets.BlazorApp1/Pages/— contains the Razor page that renders the Syncfusion Blazor DataGrid.
- For general product questions, visit the Syncfusion Community Forum or Syncfusion Support.
- To report an issue specific to this sample, open a GitHub issue in this repository.
- Refer to the Syncfusion Blazor DataGrid globalization documentation: https://blazor.syncfusion.com/documentation/datagrid/global-local
This is a Syncfusion sample project provided to demonstrate product usage. Review the Syncfusion license terms before using Syncfusion components in your own applications.