Localization examples demonstrating how to localize Syncfusion® Blazor UI components across different Blazor hosting models and .NET versions.
This repository contains localization examples for the following configurations:
| Directory | .NET Version | Hosting Model | Localization Type |
|---|---|---|---|
.NET5 Blazor Server App |
.NET 5 | Server | Static & Dynamic |
.NET5 Blazor WASM App |
.NET 5 | WebAssembly | Dynamic |
.NET6 Blazor Server App |
.NET 6 | Server | Static & Dynamic |
.NET6 Blazor WASM App |
.NET 6 | WebAssembly | Dynamic |
.NET 8 Blazor Web App |
.NET 8 | Web App (Auto) | Static & Dynamic |
.NET8 MAUI Blazor App |
.NET 8 | MAUI | Static |
- Static Culture — Culture is set at application
Startup.cs/Program.csand remains fixed during the session. - Dynamic Culture — Users can switch cultures at runtime, with the UI updating accordingly.
- Visual Studio 2022 or later
- Visual Studio Code
- .NET SDK
git clone https://github.com/SyncfusionExamples/blazor-localization.git
cd <project_folder_path..>- Open the solution file using Visual Studio 2022 or later.
- Restore NuGet packages by rebuilding the solution.
- Build the project to ensure there are no compilation errors
- Run the project
- Blazor Localization Documentation
- GitHub: blazor-locale — Latest translation resource files