maui-localization-theming

maui-localization-theming is a skill for Claude Code, Codex from dotnet/maui-labs. It costs 73 tokens per session (768 once invoked), scanned A, original, MIT.

A guide for adding translated text, culture-aware dates and numbers, right-to-left layouts, and light or dark themes to .NET MAUI apps. .NET MAUI is Microsoft's framework for building apps across platforms such as Android, iOS, and Windows.

In plain words
What is it for?
Use it to configure RESX translations, runtime language switching, RTL support, platform language settings, and light, dark, or system-based themes.
Why use it?
It gives developers patterns for keeping language, formatting, layout direction, and appearance correct as users change their settings or device preferences.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to configure RESX translations, runtime language switching, RTL support, platform language settings, and light, dark, or system-based themes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dotnet/maui-labs/maui-localization-theming
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dotnet/maui-labs --skill maui-localization-theming
Clone the repo
git clone --depth 1 https://github.com/dotnet/maui-labs

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for maui-localization-theming

README.md
[![agentmods](https://agentmods.dev/badge/skills/dotnet/maui-labs/maui-localization-theming/github.svg)](https://agentmods.dev/skills/dotnet/maui-labs/maui-localization-theming)
Your own site
<a href="https://agentmods.dev/skills/dotnet/maui-labs/maui-localization-theming"><img src="https://agentmods.dev/badge/skills/dotnet/maui-labs/maui-localization-theming/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for maui-localization-theming

Your own site · 80×15
<a href="https://agentmods.dev/skills/dotnet/maui-labs/maui-localization-theming"><img src="https://agentmods.dev/badge/skills/dotnet/maui-labs/maui-localization-theming.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 768 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00073 $0.00768
Opus 5 $0.00036 $0.00384
Sonnet 5 $0.00015 $0.00154
Haiku 4.5 $0.00007 $0.00077

Measured 6d ago against content hash 748dd6997a8b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

maui-localization-theming scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/dotnet-maui/skills/maui-localization-theming/SKILL.md · 96 lines

How it starts

The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MAUI Localization and Theming

Use this skill when a MAUI app needs translated strings, culture-specific formatting, right-to-left support, or runtime theme changes.

Workflow

  1. Inspect existing Resources, ResourceDictionary, App.xaml, and platform language declarations.
  2. Put user-visible strings in RESX resources or the app's existing localization service.
  3. Use culture-aware formatting for dates, numbers, and currency.
  4. If runtime language switching is required, centralize culture updates and notify UI bindings.
  5. Add RTL support through FlowDirection and test with an RTL culture.
  6. Define colors, spacing, and styles as resources.
  7. Use AppThemeBinding for simple light/dark values and DynamicResource for values that change at runtime.
  8. Set Application.Current.UserAppTheme only when the user explicitly chooses a theme; use Unspecified for system theme.

RESX Pattern

Use a default resource file plus culture-specific files:

Resources/Strings/AppResources.resx
Resources/Strings/AppResources.es.resx
Resources/Strings/AppResources.fr.resx

Reference generated resources from XAML or ViewModels instead of hard-coded strings. Keep resource keys stable and descriptive.

Runtime Culture Switching

When the user changes language:

  • Set CultureInfo.DefaultThreadCurrentCulture.
  • Set CultureInfo.DefaultThreadCurrentUICulture.
  • Update any generated resource culture property if the app uses one.
  • Notify bound localized strings, recreate affected pages, or use a localization manager that raises change notifications.
  • Persist the selected culture in Preferences only after the user chooses it.

Do not assume changing the thread culture automatically refreshes every existing binding. Existing pages usually need notification or recreation.

Platform Language Declarations

Platform Check
iOS/Mac Catalyst Include supported localizations such as CFBundleLocalizations when platform language metadata is required.
Android Confirm app language/resource configuration if using platform-specific localized resources.
Windows Confirm package/resource language metadata if the app has Windows-specific resources.

Read the full file on GitHub · 96 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago Changed · -49 tokens per session 748dd6997a8b
  2. 10d ago First seen · 96 lines · 122 tokens per session scan A b4d3628c0624

Subscribe to this mod's changes

maui-localization-theming is a skill published in the GitHub repository dotnet/maui-labs (213 stars, last pushed today), licensed MIT. It adds 73 tokens to every session and 768 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

swift-formatstyle

Locale-aware value formatting and parsing on iOS/macOS with Foundation's FormatStyle / ParseableFormatStyle protocols — the modern replacement for NumberFormatter / DateFormatter / DateComponentsFormatter subclasses. Covers number styles (IntegerFormatStyle / FloatingPointFormatStyle via .number with .precision /…

TalissonVitorino/kmp-ios-skills · 226 tokens

localization-patterns

Localization patterns for mobile - string resources, plurals, RTL support, Compose localization, KMP shared strings, and locale management.

TalissonVitorino/kmp-ios-skills · 31 tokens

localization-patterns

Localization patterns for mobile - string resources, plurals, RTL support, Compose localization, KMP shared strings, and locale management.

ahmed3elshaer/everything-claude-code-mobile · 31 tokens

argent-device-interact

Interact with an iOS simulator, Android emulator, or Chromium (CDP) app using argent MCP tools. Use when tapping UI elements, performing gestures, scrolling/swiping, typing text, pressing hardware buttons, launching apps, opening URLs, taking screenshots, waiting for an element to appear or disappear, or checking…

software-mansion/argent · 78 tokens

argent-settings-permissions

Grant, deny, or reset an app's runtime permissions (camera, microphone, photos, contacts, notifications, calendar, location, location-always, media-library, motion, reminders) on an iOS simulator or Android device using the argent settings-permissions tool - without navigating the system Settings UI. Use when the…

software-mansion/argent · 140 tokens

argent-metro-debugger

Debug a JS runtime via CDP using argent debugger tools. Primary path is React Native via Metro (iOS / Android / Vega); a subset of the tools (debugger-connect, debugger-status, debugger-evaluate, debugger-log-registry) also drive a Chromium (CDP) app's renderer (an Electron app, or any Chromium browser exposing CDP)…

software-mansion/argent · 104 tokens