JGUZDV.Blazor.Components.L10n
2.3.3
dotnet add package JGUZDV.Blazor.Components.L10n --version 2.3.3
NuGet\Install-Package JGUZDV.Blazor.Components.L10n -Version 2.3.3
<PackageReference Include="JGUZDV.Blazor.Components.L10n" Version="2.3.3" />
<PackageVersion Include="JGUZDV.Blazor.Components.L10n" Version="2.3.3" />
<PackageReference Include="JGUZDV.Blazor.Components.L10n" />
paket add JGUZDV.Blazor.Components.L10n --version 2.3.3
#r "nuget: JGUZDV.Blazor.Components.L10n, 2.3.3"
#:package JGUZDV.Blazor.Components.L10n@2.3.3
#addin nuget:?package=JGUZDV.Blazor.Components.L10n&version=2.3.3
#tool nuget:?package=JGUZDV.Blazor.Components.L10n&version=2.3.3
JGUZDV.Blazor.Components.L10n
This module allows the easy use of an edit form for L10n strings.
For this purpose, the component initially accepts an L10n string L10n and an event callback of an L10n string L10nChanged.
Page.razor
<JGUZDV.Blazor.Components.L10n.L10nEditor L10n="_firstTestVaue" L10nChanged="ShowChangedValue"></JGUZDV.Blazor.Components.L10n.L10nEditor>
There are two options for integrating the supported languages.
These can be passed as parameters SupportedCultures to the component.
Page.razor
<JGUZDV.Blazor.Components.L10n.L10nEditor L10n="_secondRestValue" SupportedCultures="_languages" L10nChanged="ShowChangedValue"></JGUZDV.Blazor.Components.L10n.L10nEditor>
The other variant offers the option of specifying the supporting languages once in the Program.cs.
Program.cs
builder.Services.AddSupportedCultures(new List<string>() { "de", "en" });
It is possible to use both variants and only pass the supported languages as parameters if they differ from the standard supported languages.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- JGUZDV.L10n (>= 2.4.1)
- Microsoft.AspNetCore.Components.Web (>= 10.0.15)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on JGUZDV.Blazor.Components.L10n:
| Package | Downloads |
|---|---|
|
JGUZDV.DynamicForms.Blazor
Blazor component library for DynamicForms. |
GitHub repositories
This package is not used by any popular GitHub repositories.