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 supports localization of static text elements, such as **group drop area text** and **pager information**, can be localized to cultures like `Arabic`, `Deutsch`, `French`, and others.
16
+
The Syncfusion<supstyle="font-size:70%">®</sup> Blazor DataGrid supports localization of static text elements, such as **group drop area text** and **pager information**, can be localized to cultures like **Arabic**, **Deutsch**, **French**, and others.
17
17
18
18
- Apply localization to replace default UI text with culture-specific translations.
19
19
- Configure localization by referring to the [Blazor Localization Documentation](https://blazor.syncfusion.com/documentation/common/localization).
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).
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).
@@ -219,7 +219,7 @@ Include the theme stylesheet and script references in the **~/Components/App.raz
219
219
```
220
220
221
221
> * Refer to the [Blazor Themes](https://blazor.syncfusion.com/documentation/appearance/themes) documentation for theme inclusion methods (Static Web Assets, CDN, or CRG).
222
-
> * Set the render mode to `InteractiveServer` or `InteractiveAuto` in the Blazor Web App configuration.
222
+
> * Set the render mode to **InteractiveServer** or **InteractiveAuto** in the Blazor Web App configuration.
223
223
224
224
**Step 5: Create and Register Localization Service**
225
225
@@ -398,7 +398,7 @@ In the **Counter.razor** file (or another page, e.g., Index.razor), add code to
398
398
399
399
**Step 10: Create a Model Class**
400
400
401
-
Create a `Data` folder and add an **OrderData.cs** file to define the model class for the DataGrid:
401
+
Create a **Data** folder and add an **OrderData.cs** file to define the model class for the DataGrid:
Run the application to display the DataGrid with localized content and formats based on the selected culture (e.g., en-US or fr-FR). The culture switcher buttons update the UI, such as `pager text` or `currency` formats (e.g., `$` for en-US, `€` for fr-FR).
454
+
Run the application to display the DataGrid with localized content and formats based on the selected culture (e.g., en-US or fr-FR). The culture switcher buttons update the UI, such as **pager text** or **currency** formats (e.g., `$` for en-US, `€` for fr-FR).
455
455
456
456

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 DataGrid component.
463
463
464
464
- Follow these steps to configure RTL with a specific culture:
465
465
466
466
**Step 1: Complete Initial Localization Setup**
467
467
468
-
Complete `steps 1` through `5` from the [Switching Localization](https://blazor.syncfusion.com/documentation/datagrid/global-local#switch-the-different-localization) guide to set up the Blazor Web App, install NuGet packages, register services, and include theme resources.
468
+
Complete **steps 1** through **5** from the [Switching Localization](https://blazor.syncfusion.com/documentation/datagrid/global-local#switch-the-different-localization) guide to set up the Blazor Web App, install NuGet packages, register services, and include theme resources.
0 commit comments