ArchPillar.Extensions.Localization.StringLocalizer
1.5.0-preview9
dotnet add package ArchPillar.Extensions.Localization.StringLocalizer --version 1.5.0-preview9
NuGet\Install-Package ArchPillar.Extensions.Localization.StringLocalizer -Version 1.5.0-preview9
<PackageReference Include="ArchPillar.Extensions.Localization.StringLocalizer" Version="1.5.0-preview9" />
<PackageVersion Include="ArchPillar.Extensions.Localization.StringLocalizer" Version="1.5.0-preview9" />
<PackageReference Include="ArchPillar.Extensions.Localization.StringLocalizer" />
paket add ArchPillar.Extensions.Localization.StringLocalizer --version 1.5.0-preview9
#r "nuget: ArchPillar.Extensions.Localization.StringLocalizer, 1.5.0-preview9"
#:package ArchPillar.Extensions.Localization.StringLocalizer@1.5.0-preview9
#addin nuget:?package=ArchPillar.Extensions.Localization.StringLocalizer&version=1.5.0-preview9&prerelease
#tool nuget:?package=ArchPillar.Extensions.Localization.StringLocalizer&version=1.5.0-preview9&prerelease
ArchPillar.Extensions.Localization.StringLocalizer
IStringLocalizer interop for ArchPillar.Extensions.Localization — a migration on-ramp. Reference
this package while adopting the library from an existing IStringLocalizer/.resx codebase; it adapts the
localizer to IStringLocalizer/IStringLocalizer<T> and composes over your existing
ResourceManager/.resx factory, so strings the ambient store does not yet have keep resolving from
.resx. Once your code no longer depends on IStringLocalizer, drop this package and keep the native
AddArchPillarLocalization registration.
services.AddArchPillarStringLocalizer(new LocalizerOptions { SourceCulture = "en" });
// ...
public sealed class Home(IStringLocalizer<Home> localizer)
{
public string Title => localizer["home.title"]; // override for the request culture, else .resx, else "home.title"
}
AddArchPillarStringLocalizer performs the native AddArchPillarLocalization registration for you, so a
single call wires up both the native views and the interop adapters. It also registers the
ResourceManager/.resx factory itself, so .resx keeps resolving regardless of whether you call
AddLocalization() before or after it.
The adapter follows the standard IStringLocalizer model: the name is the key, and a missing entry returns
the name with ResourceNotFound = true. Positional arguments map to {0}, {1}, … ICU placeholders. The
request culture is CultureInfo.CurrentUICulture, which UseRequestLocalization() sets per request.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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
- ArchPillar.Extensions.Localization (>= 1.5.0-preview9)
- ArchPillar.Extensions.Localization.DependencyInjection (>= 1.5.0-preview9)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Localization (>= 10.0.0)
- Microsoft.Extensions.Localization.Abstractions (>= 10.0.0)
-
net8.0
- ArchPillar.Extensions.Localization (>= 1.5.0-preview9)
- ArchPillar.Extensions.Localization.DependencyInjection (>= 1.5.0-preview9)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.2)
- Microsoft.Extensions.Localization (>= 8.0.0)
- Microsoft.Extensions.Localization.Abstractions (>= 8.0.0)
-
net9.0
- ArchPillar.Extensions.Localization (>= 1.5.0-preview9)
- ArchPillar.Extensions.Localization.DependencyInjection (>= 1.5.0-preview9)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.14)
- Microsoft.Extensions.Localization (>= 9.0.0)
- Microsoft.Extensions.Localization.Abstractions (>= 9.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.5.0-preview9 | 70 | 8/3/2026 |
| 1.5.0-preview8 | 62 | 7/31/2026 |
| 1.5.0-preview7 | 62 | 7/30/2026 |
| 1.5.0-preview6 | 64 | 7/29/2026 |
| 1.5.0-preview5 | 64 | 7/26/2026 |
| 1.5.0-preview4 | 61 | 7/25/2026 |
| 1.5.0-preview3 | 84 | 6/17/2026 |
| 1.5.0-preview2 | 71 | 6/17/2026 |
| 1.5.0-preview15 | 57 | 8/21/2026 |
| 1.5.0-preview14 | 65 | 8/17/2026 |
| 1.5.0-preview13 | 63 | 8/11/2026 |
| 1.5.0-preview12 | 62 | 8/10/2026 |
| 1.5.0-preview11 | 63 | 8/10/2026 |
| 1.5.0-preview10 | 61 | 8/6/2026 |
| 1.5.0-preview1 | 74 | 6/16/2026 |
| 1.4.4-preview | 71 | 6/15/2026 |
| 1.4.3-preview | 74 | 6/14/2026 |
| 1.4.2-preview | 65 | 6/14/2026 |
| 1.4.1-preview | 68 | 6/14/2026 |
| 1.4.0-preview | 75 | 6/13/2026 |