Skip to content
Shiny Controls v1.0 - The Ultra Control Suite for .NET MAUI & BlazorO...M...G!

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 35 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 35 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