dotnet-localization

Localize .NET applications with resource files and localization interfaces.

1|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/rudironsoni/dotnet-agent-harness --skill dotnet-localization-rudironsoni
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-localization
Source: https://github.com/rudironsoni/dotnet-agent-harness/tree/main/.rulesync/skills/dotnet-localization
Command: npx skills add https://github.com/rudironsoni/dotnet-agent-harness --skill dotnet-localization-rudironsoni

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the complexity of making .NET applications accessible and user-friendly to a global audience by managing text and UI elements across different languages and cultures.

Core Features & Use Cases

  • Resource Management: Handles .resx files, satellite assemblies, and modern alternatives like JSON resources and source generators for AOT compatibility.
  • Localization APIs: Provides guidance on using IStringLocalizer, IViewLocalizer, and IHtmlLocalizer for effective string internationalization.
  • Culture-Specific Formatting: Details how to format dates, numbers, and currencies correctly using CultureInfo.
  • RTL Support: Explains how to implement right-to-left text directionality for languages like Arabic and Hebrew across various UI frameworks (Blazor, MAUI, Uno, WPF).
  • Pluralization: Offers solutions for handling grammatical pluralization rules in different languages using MessageFormat.NET and SmartFormat.NET.
  • Use Case: Integrate comprehensive localization into your ASP.NET Core application, ensuring all user-facing strings are translated and culturally appropriate for English, French, and German users, including correct date and currency formatting.

Quick Start

Configure your .NET project to use .resx files for localization, register IStringLocalizer services, and demonstrate accessing a translated string for the current UI culture.

Frequently Asked Questions about dotnet-localization

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I localize a .NET Blazor or MAUI app using resx files?

To localize .NET apps, configure your project with .resx files, register IStringLocalizer services, and access translated strings based on the current UI culture for Blazor, MAUI, WPF, or Uno Platform.

How do I handle right-to-left (RTL) text direction in .NET localization?

Implement RTL layout support by configuring UI directionality for languages like Arabic and Hebrew across your target frameworks, ensuring text and UI elements render correctly in Blazor, MAUI, Uno, and WPF.

What is the best way to format dates and currencies for different cultures in C#?

Format dates, numbers, and currencies correctly by applying CultureInfo settings in your .NET application, ensuring values display according to the specific cultural conventions of the active UI culture.

Can I use JSON resources or source generators instead of resx for .NET internationalization?

Yes, you can manage localization using JSON resources and source generators as modern alternatives to .resx files, providing AOT compatibility for your .NET 8.0+ applications.

How do I handle pluralization rules for multiple languages in a C# application?

Handle grammatical pluralization by integrating pluralization engines like MessageFormat.NET or SmartFormat.NET into your .NET application to manage varying language rules accurately.

Do I need .NET 8.0 for IStringLocalizer and IViewLocalizer localization APIs?

The guidance assumes a baseline of .NET 8.0+ for implementing localization interfaces like IStringLocalizer, IViewLocalizer, and IHtmlLocalizer to ensure proper internationalization support.