![]() |
VOOZH | about |
dotnet add package Net.LocalizeMessagesAndErrors --version 10.0.0
NuGet\Install-Package Net.LocalizeMessagesAndErrors -Version 10.0.0
<PackageReference Include="Net.LocalizeMessagesAndErrors" Version="10.0.0" />
<PackageVersion Include="Net.LocalizeMessagesAndErrors" Version="10.0.0" />Directory.Packages.props
<PackageReference Include="Net.LocalizeMessagesAndErrors" />Project file
paket add Net.LocalizeMessagesAndErrors --version 10.0.0
#r "nuget: Net.LocalizeMessagesAndErrors, 10.0.0"
#:package Net.LocalizeMessagesAndErrors@10.0.0
#addin nuget:?package=Net.LocalizeMessagesAndErrors&version=10.0.0Install as a Cake Addin
#tool nuget:?package=Net.LocalizeMessagesAndErrors&version=10.0.0Install as a Cake Tool
This library provides extra code to make it easier to support in different languages in your .NET application (known as localization in .NET). The code in this library wraps the .NET's localization services with a nicer front-end that makes the localization parts easier to code and understand. Its especialy useful if you are creating a library, as the library can be tried straight away without having to set up ASP.NET Core's localization.
This library is an open-source library under the MIT licence and the NuGet package can be found here. The documentation can be found in the GitHub wiki and see ReleaseNotes for details of changes.
The versions of this library has changed to make it easier to create a new version when a new release of .NET farmework. Now the first number defines the .NET version, e.g EfCore.TestSupport version 8.?.? only runs on .NET 8.
A user of the of my library AuthPermissions.AspNetCore (shortened to AuthP) wanted support for multiple languages (known as localization) added. I looked at the .NET localization service and here the main issues I had:
It took me some time to design a library called Net.LocalizeMessagesAndErrors that solves issues above (and more). Plus, using the library on my AuthP library (which has hundreds of errors / messages) provides lots feedback on the best design for the library.
You can find list of the improvements that this library provides better handling localization in .NET applications.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. 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 Net.LocalizeMessagesAndErrors:
| Package | Downloads |
|---|---|
|
AuthPermissions.AspNetCore
Provides extra authorization and multi-tenant features to an ASP.NET Core application. |
Showing the top 1 popular GitHub repositories that depend on Net.LocalizeMessagesAndErrors:
| Repository | Stars |
|---|---|
|
JonPSmith/AuthPermissions.AspNetCore
This library provides extra authorization and multi-tenant features to an ASP.NET Core application.
|
- .NET 10 version