JGUZDV.L10n
2.4.1
dotnet add package JGUZDV.L10n --version 2.4.1
NuGet\Install-Package JGUZDV.L10n -Version 2.4.1
<PackageReference Include="JGUZDV.L10n" Version="2.4.1" />
<PackageVersion Include="JGUZDV.L10n" Version="2.4.1" />
<PackageReference Include="JGUZDV.L10n" />
paket add JGUZDV.L10n --version 2.4.1
#r "nuget: JGUZDV.L10n, 2.4.1"
#:package JGUZDV.L10n@2.4.1
#addin nuget:?package=JGUZDV.L10n&version=2.4.1
#tool nuget:?package=JGUZDV.L10n&version=2.4.1
JGUZDV.L10n
This module provides a default model for localizable (l10n) strings.
It's built to be JSON convertible and also comes with a storage converter to use it in EntityFramework (see JGUZDV.L10n.EntityFramework).
The .ToString() method is overriden to use CurrentCulture to find the requested language and will always try to return anything.
There's also an explicit conversion (string) which uses the same mechanism.
var l10n = new L10nString();
l10n["de"] = "Hallo Welt";
l10n["en"] = "Hello World";
var asString = (string)l10n;
This package also provides a set of classes to support language selection in Blazor applications hosted on AspNetCore.
You probably might not use this directly, but as requirement of JGUZDV.Blazor.Components.
| 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
NuGet packages (6)
Showing the top 5 NuGet packages that depend on JGUZDV.L10n:
| Package | Downloads |
|---|---|
|
JGUZDV.Blazor.Components
Blazor component library - build for Bootstrap 5 |
|
|
JGUZDV.AspNetCore.Hosting
HostBuilders for our default setup. |
|
|
JGUZDV.DynamicForms
Library to create dynamic forms at runtime. |
|
|
JGUZDV.Blazor.Hosting
HostBuilders for our default setup. |
|
|
JGUZDV.Blazor.Components.L10n
Blazor component to handle L10nString |
GitHub repositories
This package is not used by any popular GitHub repositories.