localization-globalization

Implement multi-language support and culture-specific formatting in ASP.NET Core Razor Pages.

71|10|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/wshaddix/dotnet-skills --skill localization-globalization-wshaddix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: localization-globalization
Source: https://github.com/wshaddix/dotnet-skills/tree/main/skills/localization-globalization
Command: npx skills add https://github.com/wshaddix/dotnet-skills --skill localization-globalization-wshaddix

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the challenges of implementing and maintaining multi-language support in ASP.NET Core Razor Pages applications, ensuring a consistent and maintainable user experience across different cultures.

Core Features & Use Cases

  • Resource File Management: Organizes and utilizes resource files for translations.
  • Culture Configuration: Sets up request localization for automatic culture detection and fallback.
  • Razor Pages Integration: Implements localization within PageModels and views for dynamic content.
  • Culture-Specific Formatting: Ensures dates, numbers, and currencies are displayed correctly for each culture.
  • Language Switching: Provides a mechanism for users to select their preferred language.
  • RTL Support: Includes considerations for right-to-left language layouts.

Quick Start

Configure localization in your ASP.NET Core application by adding the necessary services and middleware in Program.cs and setting up resource files.

Frequently Asked Questions about localization-globalization

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

FAQPage Schema
How do I add multi-language support to an ASP.NET Core Razor Pages application?

Multi-language support in ASP.NET Core Razor Pages is implemented by configuring localization services and middleware in Program.cs, organizing resource files for translations, and integrating localization within PageModels and views for dynamic content rendering.

What is the best way to manage culture-specific formatting for dates and currencies in ASP.NET Core?

Culture-specific formatting for dates and currencies is handled by setting up request localization for automatic culture detection and fallback, ensuring numbers and dates display correctly for each user's selected culture.

How do I implement user-facing language switching in an ASP.NET Core app?

User-facing language switching is implemented by providing a mechanism that allows users to select their preferred language, which then updates the request culture to load the appropriate resource files and formatting.

Does ASP.NET Core localization support right-to-left (RTL) language layouts?

ASP.NET Core localization includes considerations for right-to-left (RTL) language layouts, supporting a comprehensive global user experience for languages that require reversed text direction.

How do I configure request localization for automatic culture detection in ASP.NET Core?

Request localization is configured by adding the necessary localization services and middleware in Program.cs, enabling automatic culture detection and fallback to ensure users receive the correct language resources.

When should I use resource files for internationalization in ASP.NET Core Razor Pages?

Resource files are used for internationalization to organize and maintain translations separately from code, ensuring a consistent and maintainable user experience across different cultures in Razor Pages applications.