RouteMenz.Localization.SourceGenerator 3.0.1

dotnet add package RouteMenz.Localization.SourceGenerator --version 3.0.1
                    
NuGet\Install-Package RouteMenz.Localization.SourceGenerator -Version 3.0.1
                    
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="RouteMenz.Localization.SourceGenerator" Version="3.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RouteMenz.Localization.SourceGenerator" Version="3.0.1" />
                    
Directory.Packages.props
<PackageReference Include="RouteMenz.Localization.SourceGenerator" />
                    
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 RouteMenz.Localization.SourceGenerator --version 3.0.1
                    
#r "nuget: RouteMenz.Localization.SourceGenerator, 3.0.1"
                    
#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 RouteMenz.Localization.SourceGenerator@3.0.1
                    
#: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=RouteMenz.Localization.SourceGenerator&version=3.0.1
                    
Install as a Cake Addin
#tool nuget:?package=RouteMenz.Localization.SourceGenerator&version=3.0.1
                    
Install as a Cake Tool

RouteMenz Localization

Production-grade localization package for .NET projects.

Features

  • Source-generated strongly-typed localization keys from AppStrings.resx
  • Compile-time validation for duplicate, missing, invalid and placeholder issues
  • Multi-language coverage diagnostics and JSON reporting
  • CI-friendly diagnostics for enforcement, alerts and dashboarding

Quick Start

  1. Install package:
dotnet add package RouteMenz.Localization
  1. Add AdditionalFiles in your app project:
<ItemGroup>
  <AdditionalFiles Include="Resources\Localization\AppStrings*.resx" />
</ItemGroup>
  1. Add key shell:
namespace YourApp.Localization;

public static partial class AppStringsKeys
{
}

Result

  • Missing translation issues can fail builds
  • Key drift is prevented by generated constants
  • Localization quality remains observable via CI + dashboard
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on RouteMenz.Localization.SourceGenerator:

Package Downloads
RouteMenz.Localization

Complete localization platform: source generator + compile-time analyzer + diagnostics.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.1 123 4/13/2026
3.0.0 198 4/12/2026