TypealizR.CLI 0.9.7-pre0001

Prefix Reserved
This is a prerelease version of TypealizR.CLI.
There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global TypealizR.CLI --version 0.9.7-pre0001
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local TypealizR.CLI --version 0.9.7-pre0001
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=TypealizR.CLI&version=0.9.7-pre0001&prerelease
                    
nuke :add-package TypealizR.CLI --version 0.9.7-pre0001
                    

build Coverage Status CodeQL Publish

Quality Gate Status Lines of Code Duplicated Lines (%) Code Smells Maintainability Rating Security Rating Bugs Vulnerabilities Reliability Rating Technical Debt

Samples STS Samples LTS

NuGet Nuget NuGet (preview)

TypealizR

The typed internationalizeR

Statically typed i18n support for the .NET - ecosystem

resource-first

✔️ DO this:


@inject IStringLocalizer<HomePage> localize;
@inject AppUser user;

<h1>@localize.Title()<h1>
<h2>@localize.Welcome_back__userName(user.GivenName)<h2>

demo_typealize_translation_initial

DON´T do that:


@inject IStringLocalizer<HomePage> localize;
@inject AppUser user;

<h1>@localize["Title"]<h1>
<h2>@localize["Welcome back, {0}", user.GivenName]<h2>

See resource-first for more details

code-first

✔️ DO this:

void Demo(ILocalizables i18n)
{
    Console.WriteLine(i18n.Hello("Earth")); // Hello Earth
    Console.WriteLine(i18n.Farewell("Arthur")); // So long, 'Arthur'. And thx for all the fish!
    Console.WriteLine(i18n.WhatIsTheMeaningOfLifeTheUniverseAndEverything); // 42
    Console.WriteLine(i18n.Greet(right: "Zaphod", left: "Arthur")); // Arthur greets Zaphod, and Zaphod replies: "Hi!".
}

DON´T do that:

void Demo(IStringLocalizer i18n)
{
    Console.WriteLine(i18n["Hello", "Earth"]); // Hello Earth
    Console.WriteLine(i18n["Farewell", "Arthur"]); // So long, 'Arthur'. And thx for all the fish!
    Console.WriteLine(i18n["WhatIsTheMeaningOfLifeTheUniverseAndEverything"]; // 42
    Console.WriteLine(i18n["Greet", "Arthur", "Zaphod")); // Arthur greets Zaphod, and Zaphod replies: "Hi!".
}

See code-first for more details.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  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.  net9.0 was computed.  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 was computed.  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.

This package has no dependencies.

Version Downloads Last Updated
0.14.1 126 7/7/2025
0.14.0 92 6/20/2025
0.14.0-pre0004 268 6/9/2025
0.14.0-pre0003 187 6/8/2025
0.14.0-pre0002 196 6/8/2025
0.14.0-pre0001 110 6/7/2025
0.13.1-pre0002 143 5/25/2025
0.13.1-pre0001 140 5/25/2025
0.13.0-pre0001 70 5/3/2025
0.12.0 261 4/15/2025
0.12.0-pre0002 210 4/6/2025
0.12.0-pre0001 215 4/3/2025
0.11.1-pre0004 484 3/24/2025
0.11.1-pre0003 421 3/24/2025
0.11.1-pre0002 346 3/24/2025
0.11.1-pre0001 282 3/23/2025
0.11.0 284 3/23/2025
0.11.0-pre0001 273 3/23/2025
0.10.0-pre0013 110 10/30/2024
0.10.0-pre0012 111 10/29/2024
0.10.0-pre0011 106 10/26/2024
0.10.0-pre0010 115 10/26/2024
0.10.0-pre0007 106 10/25/2024
0.10.0-pre0006 117 10/25/2024
0.10.0-pre0004 110 10/25/2024
0.10.0-pre0003 116 10/24/2024
0.9.9 178 5/15/2024
0.9.8 148 5/15/2024
0.9.7 139 5/15/2024
0.9.7-pre0003 117 5/14/2024
0.9.7-pre0002 117 5/14/2024
0.9.7-pre0001 116 5/14/2024
0.9.6 138 5/14/2024
0.9.5 300 11/6/2023
0.9.4 227 9/19/2023
0.9.3 205 5/13/2023
0.9.2 326 2/5/2023
0.9.2-pre0008 312 2/5/2023