Skip to content
Shiny.NET
Shiny MAUI Shell v7 - App Links, App Shortcuts, & Navigation Interception!Shortcut me to it

Usage Examples

var localizer = services.GetRequiredService<MyViewModelLocalized>();
// Simple string property
Console.WriteLine(localizer.Welcome);
// Format string method
Console.WriteLine(localizer.UserGreetingFormat("Allan", "MyApp"));
// Output: Hello Allan, welcome to MyApp!
<Label Text="{Binding Localizer.Welcome}" />
@inject MyViewModelLocalized Localizer
<h1>@Localizer.Welcome</h1>
<p>@Localizer.UserGreetingFormat(User.Name, "MyApp")</p>

The generated class exposes the underlying IStringLocalizer for edge cases:

// Dynamic key lookup when you need it
var value = localizer.Localizer["SomeDynamicKey"];

Generate classes with internal instead of public access:

<PropertyGroup>
<GenerateLocalizersInternal>True</GenerateLocalizersInternal>
</PropertyGroup>
claude plugin marketplace add shinyorg/skills
claude plugin install shiny@shiny

One plugin installs all 37 Shiny skills. Your agent loads only the skill relevant to what you're building, so there's no cost to having them all available.

copilot plugin marketplace add https://github.com/shinyorg/skills
copilot plugin install shiny@shiny

One plugin installs all 37 Shiny skills. Your agent loads only the skill relevant to what you're building, so there's no cost to having them all available.

View localizegen Skill