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
Copy file name to clipboardExpand all lines: README.md
+20-3Lines changed: 20 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,19 +7,35 @@
7
7
8
8
Community translations for the MudBlazor component library.
9
9
10
+
## Compatibility
11
+
12
+
| MudBlazor | MudBlazor.Translations |
13
+
|-----------|------------------------|
14
+
| 7.x.x | 1.x.x |
15
+
10
16
## Installation
11
17
18
+
Install the package
19
+
12
20
```bash
13
21
dotnet add package MudBlazor.Translations
14
22
```
15
23
24
+
Add the following to the relevant sections of `Program.cs`
25
+
16
26
```csharp
17
27
usingMudBlazor.Translations;
18
-
// ...
28
+
```
29
+
30
+
```csharp
19
31
builder.Services.AddMudTranslations();
20
32
```
21
33
22
-
To learn more about Localization in Blazor visit the [ASP.NET Core Blazor globalization and localization](https://learn.microsoft.com/en-us/aspnet/core/blazor/globalization-localization)
34
+
> [!IMPORTANT]
35
+
> Blazor localization needs to be configured, otherwise Blazor will default to English.
36
+
37
+
To learn more about Localization in Blazor visit
38
+
the [ASP.NET Core Blazor globalization and localization](https://learn.microsoft.com/en-us/aspnet/core/blazor/globalization-localization)
23
39
documentation page.
24
40
25
41
## Translation Status
@@ -28,7 +44,8 @@ documentation page.
28
44
29
45
## Contributing
30
46
31
-
If you want to contribute to the translations, please visit the [Weblate project](https://hosted.weblate.org/engage/mudblazor/).
47
+
If you want to contribute to the translations, please visit
48
+
the [Weblate project](https://hosted.weblate.org/engage/mudblazor/).
0 commit comments