AlliedBits.Tlumach.FluentValidation 2.1.2

dotnet add package AlliedBits.Tlumach.FluentValidation --version 2.1.2
                    
NuGet\Install-Package AlliedBits.Tlumach.FluentValidation -Version 2.1.2
                    
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="AlliedBits.Tlumach.FluentValidation" Version="2.1.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AlliedBits.Tlumach.FluentValidation" Version="2.1.2" />
                    
Directory.Packages.props
<PackageReference Include="AlliedBits.Tlumach.FluentValidation" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AlliedBits.Tlumach.FluentValidation --version 2.1.2
                    
#r "nuget: AlliedBits.Tlumach.FluentValidation, 2.1.2"
                    
#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.
#:package AlliedBits.Tlumach.FluentValidation@2.1.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AlliedBits.Tlumach.FluentValidation&version=2.1.2
                    
Install as a Cake Addin
#tool nuget:?package=AlliedBits.Tlumach.FluentValidation&version=2.1.2
                    
Install as a Cake Tool

AlliedBits.Tlumach.FluentValidation localizes FluentValidation through Tlumach.NET.

  • TlumachLanguageManager takes the built-in messages of FluentValidation (NotEmptyValidator, LengthValidator, ...) and the messages of error codes from a group of a Tlumach translation, FluentValidation by default. For a culture without a Tlumach text, the message built into FluentValidation is used.
  • WithMessage(Strings.SomeUnit) and WithName(Strings.SomeUnit) take the message and the display name of a rule from a translation unit created by Tlumach Generator. The text is read when the rule is validated, so it follows the current language.
  • TlumachDisplayNameResolver provides the display names of properties from a translation group.
  • AddTlumachFluentValidation sets everything up in an application that uses dependency injection.

The placeholders of FluentValidation, such as {PropertyName}, are kept as they are in the translations and filled by FluentValidation.

Requires FluentValidation 12 and .NET 9 or later. See the "Localization of FluentValidation" topic in the documentation.

Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
2.1.2 73 11/20/2026
2.1.1 77 11/20/2026
2.1.0 81 11/19/2026
2.0.0 124 10/11/2026