AndersonN.Omni.Localization
0.12.0
dotnet add package AndersonN.Omni.Localization --version 0.12.0
NuGet\Install-Package AndersonN.Omni.Localization -Version 0.12.0
<PackageReference Include="AndersonN.Omni.Localization" Version="0.12.0" />
<PackageVersion Include="AndersonN.Omni.Localization" Version="0.12.0" />
<PackageReference Include="AndersonN.Omni.Localization" />
paket add AndersonN.Omni.Localization --version 0.12.0
#r "nuget: AndersonN.Omni.Localization, 0.12.0"
#:package AndersonN.Omni.Localization@0.12.0
#addin nuget:?package=AndersonN.Omni.Localization&version=0.12.0
#tool nuget:?package=AndersonN.Omni.Localization&version=0.12.0
Omni.Localization
AndersonN.Omni.Localization is the UI-framework-independent localization engine used by Omni.Blazor.
It provides typed resource boundaries, deterministic culture fallback, plural forms, catalog validation,
pseudolocales and adapters for the standard .NET IStringLocalizer<T> pipeline.
public sealed class AppResource;
services.AddOmniLocalization();
services.AddOmniLocalizationResource<AppResource>(
defaultCulture: "pt-BR",
referenceCulture: "pt-BR",
referenceTranslations: new Dictionary<string, string>
{
["Home.Title"] = "Início"
});
services.AddOmniTranslations<AppResource>("en", new Dictionary<string, string>
{
["Home.Title"] = "Home"
});
Inject IOmniLocalizer<AppResource> in any .NET application. The package has no dependency on
Blazor, Razor, JavaScript or static web assets.
| 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
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Localization.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.11)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on AndersonN.Omni.Localization:
| Package | Downloads |
|---|---|
|
AndersonN.Omni.Blazor
Blazor component library for .NET 10 — 190+ components (DataGrid, DatePicker, Dialog, Stepper, BottomSheet, FAB, AI chat, ...), warm cream/amber design system, dark mode and runtime accent swap. |
|
|
AndersonN.Omni.Localization.Po
Optional Orchard Core PO/Gettext provider for AndersonN.Omni.Localization. |
|
|
AndersonN.Omni.Localization.Json
Strict JSON catalogs with nested keys and deterministic merging for AndersonN.Omni.Localization. |
GitHub repositories
This package is not used by any popular GitHub repositories.