Rystem.Extensions.Localization.Multiple 7.0.0

dotnet add package Rystem.Extensions.Localization.Multiple --version 7.0.0                
NuGet\Install-Package Rystem.Extensions.Localization.Multiple -Version 7.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Rystem.Extensions.Localization.Multiple" Version="7.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Rystem.Extensions.Localization.Multiple --version 7.0.0                
#r "nuget: Rystem.Extensions.Localization.Multiple, 7.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Rystem.Extensions.Localization.Multiple as a Cake Addin
#addin nuget:?package=Rystem.Extensions.Localization.Multiple&version=7.0.0

// Install Rystem.Extensions.Localization.Multiple as a Cake Tool
#tool nuget:?package=Rystem.Extensions.Localization.Multiple&version=7.0.0                

What is Rystem?

Add to service collection the multiple localization from different sources/libraries

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 Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

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.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
7.0.0 735,727 1/9/2023