You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Syncfusion<supstyle="font-size:70%">®</sup> Blazor DataGrid allows switching the localization from one culture to another at runtime. This is useful when the culture needs to be changed based on user preference or application context. For more details, see [Dynamically set the culture](https://blazor.syncfusion.com/documentation/common/localization#dynamically-set-the-culture).
162
+
-The Syncfusion<supstyle="font-size:70%">®</sup> Blazor DataGrid allows switching the localization from one culture to another at runtime. This is useful when the culture needs to be changed based on user preference or application context. For more details, see [Dynamically set the culture](https://blazor.syncfusion.com/documentation/common/localization#dynamically-set-the-culture).
163
163
164
-
To configure localization in a Syncfusion<supstyle="font-size:70%">®</sup> Blazor DataGrid and switch to a different culture (e.g., French, German, Arabic), follow these steps:
164
+
-To configure localization in a Syncfusion<supstyle="font-size:70%">®</sup> Blazor DataGrid and switch to a different culture (e.g., French, German, Arabic), follow these steps:
165
165
166
166
**Step 1: Create a Blazor Web App**
167
167
168
168
Create a **Blazor Web App** named `LocalizationSample` using Visual Studio 2022. Use either [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-8.0&pivots=vs) or the [Syncfusion<supstyle="font-size:70%">®</sup> Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio). Configure the appropriate [interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-8.0#render-modes) and [interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-8.0&pivots=vs#interactivity-location).
To integrate the Syncfusion<supstyle="font-size:70%">®</sup> Blazor DataGrid, open the NuGet Package Manager (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*) and install the following packages:
172
+
-To integrate the Syncfusion<supstyle="font-size:70%">®</sup> Blazor DataGrid, open the NuGet Package Manager (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*) and install the following packages:
-Open the **~/_Imports.razor** file and import the required namespaces.
192
+
Open the **~/_Imports.razor** file and import the required namespaces.
193
193
194
194
```cs
195
195
@usingSyncfusion.Blazor
@@ -457,11 +457,11 @@ Run the application to display the DataGrid with localized content and formats b
457
457
458
458
## Right-to-Left (RTL) in Syncfusion<supstyle="font-size:70%">®</sup> Blazor DataGrid
459
459
460
-
The Right-to-Left (RTL) feature in the Syncfusion<supstyle="font-size:70%">®</sup> Blazor DataGrid reverses the layout and text direction from left-to-right to right-to-left, supporting languages like `Arabic`, `Farsi`, and `Urdu`. Enabling RTL improves accessibility and delivers a natural reading experience for these languages.
460
+
-The Right-to-Left (RTL) feature in the Syncfusion<supstyle="font-size:70%">®</sup> Blazor DataGrid reverses the layout and text direction from left-to-right to right-to-left, supporting languages like `Arabic`, `Farsi`, and `Urdu`. Enabling RTL improves accessibility and delivers a natural reading experience for these languages.
461
461
462
-
To enable RTL, set the [EnableRtl](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html#Syncfusion_Blazor_Grids_SfGrid_1_EnableRtl) property to `true` in the `SfGrid` component.
462
+
-To enable RTL, set the [EnableRtl](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html#Syncfusion_Blazor_Grids_SfGrid_1_EnableRtl) property to `true` in the `SfGrid` component.
463
463
464
-
Follow these steps to configure RTL with a specific culture:
464
+
-Follow these steps to configure RTL with a specific culture:
0 commit comments