![]() |
VOOZH | about |
dotnet add package Rystem.Extensions.Localization.Multiple --version 7.0.0
NuGet\Install-Package Rystem.Extensions.Localization.Multiple -Version 7.0.0
<PackageReference Include="Rystem.Extensions.Localization.Multiple" Version="7.0.0" />
<PackageVersion Include="Rystem.Extensions.Localization.Multiple" Version="7.0.0" />Directory.Packages.props
<PackageReference Include="Rystem.Extensions.Localization.Multiple" />Project file
paket add Rystem.Extensions.Localization.Multiple --version 7.0.0
#r "nuget: Rystem.Extensions.Localization.Multiple, 7.0.0"
#:package Rystem.Extensions.Localization.Multiple@7.0.0
#addin nuget:?package=Rystem.Extensions.Localization.Multiple&version=7.0.0Install as a Cake Addin
#tool nuget:?package=Rystem.Extensions.Localization.Multiple&version=7.0.0Install as a Cake Tool
You have to add a service for localization with Multiple word. From library 1 for example
services.AddMultipleLocalization<Shared1>(x =>
{
x.ResourcesPath = "Resources";
});
and for library 2
services.AddMultipleLocalization<Shared2>(x =>
{
x.ResourcesPath = "Resources";
});
When you use the IStringLocalizer<T> the model T will find the correct assembly resources, choosing between assembly 1 (from Shared1) or assembly 2 (from Shared2).
Inject a model from library 1 to access to resources from library 1, and the same for library 2.
IStringLocalizer<SameClassInShared1Library1>
IStringLocalizer<SameClassInShared1Library2>
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net7.0 net7.0 is compatible. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 1 NuGet packages that depend on Rystem.Extensions.Localization.Multiple:
| Package | Downloads |
|---|---|
|
Rystem.RepositoryFramework.Web.Components
Rystem.RepositoryFramework allows you to use correctly concepts like repository pattern, CQRS and DDD. You have interfaces for your domains, auto-generated api, auto-generated HttpClient to simplify connection "api to front-end", a functionality for auto-population in memory of your models, a functionality to simulate exceptions and waiting time from external sources to improve your implementation/business test and load test. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 7.0.0 | 3,332,473 | 1/9/2023 |