orchardcore-localization

orchardcore-localization is a skill for Claude Code, Codex from CrestApps/CrestApps.AgentSkills. It costs 100 tokens per session (768 once invoked), scanned A, original, MIT.

A guide to adding multiple languages to an Orchard Core site. Localization means adapting the interface and content for different languages and regional settings, such as English and French.

In plain words
What is it for?
Use it to configure request cultures, translated content, interface strings, PO translation files, and the administrator culture picker.
Why use it?
It explains how to set the default and supported cultures and how to translate both the administration interface and content items.

Skill for Claude CodeCodex

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

Good fit Use it to configure request cultures, translated content, interface strings, PO translation files, and the administrator culture picker.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/crestapps/crestapps.agentskills/orchardcore-localization
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 CrestApps/CrestApps.AgentSkills --skill orchardcore-localization
Clone the repo
git clone --depth 1 https://github.com/CrestApps/CrestApps.AgentSkills

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 orchardcore-localization

README.md
[![agentmods](https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/orchardcore-localization/github.svg)](https://agentmods.dev/skills/crestapps/crestapps.agentskills/orchardcore-localization)
Your own site
<a href="https://agentmods.dev/skills/crestapps/crestapps.agentskills/orchardcore-localization"><img src="https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/orchardcore-localization/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 orchardcore-localization

Your own site · 80×15
<a href="https://agentmods.dev/skills/crestapps/crestapps.agentskills/orchardcore-localization"><img src="https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/orchardcore-localization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 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.
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.00100 $0.00768
Opus 5 $0.00050 $0.00384
Sonnet 5 $0.00020 $0.00154
Haiku 4.5 $0.00010 $0.00077

Measured today against content hash b5ba0afd5f3b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

orchardcore-localization 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 today.

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/orchardcore/skills/orchardcore-localization/SKILL.md · 101 lines

How it starts

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

Orchard Core Localization

Use OrchardCore.Localization for UI localization and OrchardCore.ContentLocalization for translated content items. Configure the default and supported cultures in the site settings UI or with a root recipe:

{
  "steps": [
    {
      "name": "Feature",
      "enable": [
        "OrchardCore.Localization",
        "OrchardCore.ContentLocalization",
        "OrchardCore.Localization.AdminCulturePicker"
      ]
    },
    {
      "name": "Settings",
      "LocalizationSettings": {
        "DefaultCulture": "en-US",
        "SupportedCultures": ["en-US", "fr-FR"],
        "FallBackToParentCulture": true
      }
    }
  ]
}

The localization module uses these settings to configure request localization. Do not invent an OrchardCore_Localization_CultureProvider configuration section.

In Orchard Core 3.0, ILocalizationService exposes culture lookup through an instance service method. Do not call a static default implementation. PoParser is static; use PoParser.Parse or PoParser.ParseAsync for PO file parsing.

UI Strings

Use the localizer typed to the class that owns the string:

private readonly IStringLocalizer<MyController> _localizer;

public MyController(IStringLocalizer<MyController> localizer)
{
    _localizer = localizer;
}

In Liquid, use the t filter:

{{ "Welcome to our site" | t }}
{{ "Hello {0}!" | t: User.Identity.Name }}

PO Contexts and Locations

The PO msgctxt must exactly match the localizer scope:

  • {Namespace}.{Class} for IStringLocalizer<T>
  • {Namespace}.{ViewPath} for a Razor view
msgctxt "MyModule.Controllers.HomeController"
msgid "Welcome to our site"
msgstr "Bienvenue sur notre site"

msgctxt "MyModule.Views.Home.Index"
msgid "Read more"
msgstr "Lire la suite"

For fr-CA, the provider checks these locations in order:

  1. {Extension}/Localization/fr-CA.po
  2. /Localization/fr-CA.po
  3. App_Data/Sites/{tenant}/Localization/fr-CA.po
  4. /Localization/{ExtensionId}/fr-CA.po
  5. /Localization/{ExtensionId}-fr-CA.po
  6. /Localization/fr-CA/{ExtensionId}.po, then each .po in that culture folder

Read the full file on GitHub · 101 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today First seen · 101 lines · 100 tokens per session scan A b5ba0afd5f3b

Subscribe to this mod's changes

orchardcore-localization is a skill published in the GitHub repository CrestApps/CrestApps.AgentSkills (13 stars, last pushed today), licensed MIT. It adds 100 tokens to every session and 768 once invoked, about $0.0005 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-09-12.

Related

Other skills, from other repositories

new-page

Create a frontend page with routing, i18n, and navigation.

fpindej/netrock · 13 tokens

tongwen

Use when translating engineering CAD drawings between languages — DWG text extraction, translation workspace with terminology management, quality-checked write-back. TongWen (同文): local-first CAD/BIM lossless translation suite for AutoCAD 2019-2026.

znlgis/opengis-skills · 55 tokens

powerpoint-cli

PowerPoint CLI automation skill for Windows presentations. Use when a coding agent needs token-efficient, scriptable, or unattended PowerPoint automation via pptcli commands. Best for CI/CD, scheduled jobs, batch processing, PowerShell workflows, and bulk deck edits. Supports slides, shapes, text frames, tables…

sbroenne/mcp-server-powerpoint · 122 tokens

docs

Use for Perigon documentation work across this workspace, especially Perigon.docs/Content/docs/Perigon bilingual and versioned docs, syncing zh-CN and en-US content, updating docs from Perigon.CLI, Perigon.template, and Perigon.Modules changes, and deciding whether to revise existing pages or add new documentation.

AterDev/Perigon.CLI · 67 tokens

powerpoint-mcp

PowerPoint MCP Server skill for Windows presentation automation via a live PowerPoint desktop instance (COM/PIA). Use when an assistant needs rich MCP tools to create, open, build, format, and export PowerPoint (.pptx/.pptm) presentations — slides, shapes, text boxes, tables, native charts, images, audio, video…

sbroenne/mcp-server-powerpoint · 112 tokens

localizing-wpf-applications

Localizes WPF applications using resource files, x:Uid, and BAML localization. Use when building multi-language applications or supporting right-to-left layouts.

christian289/dotnet-with-claudecode · 31 tokens