content-sdk-dictionary-and-i18n

content-sdk-dictionary-and-i18n is a skill for Claude Code, Codex from Sitecore/content-sdk. It costs 29 tokens per session (535 once invoked), scanned A, original, Apache-2.0.

Project guidance for handling languages and translations in an Angular website. It explains how language codes appear in page URLs and how the app loads translated text.

In plain words
What is it for?
Use it to configure supported languages, read the current language in data loaders, and keep the app's language settings consistent with Sitecore.
Why use it?
It removes guesswork when adding a language or fixing locale-related routing and dictionary problems.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to configure supported languages, read the current language in data loaders, and keep the app's language settings consistent with Sitecore.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sitecore/content-sdk/content-sdk-dictionary-and-i18n
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 Sitecore/content-sdk --skill content-sdk-dictionary-and-i18n
Clone the repo
git clone --depth 1 https://github.com/Sitecore/content-sdk

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 content-sdk-dictionary-and-i18n

README.md
[![agentmods](https://agentmods.dev/badge/skills/sitecore/content-sdk/content-sdk-dictionary-and-i18n/github.svg)](https://agentmods.dev/skills/sitecore/content-sdk/content-sdk-dictionary-and-i18n)
Your own site
<a href="https://agentmods.dev/skills/sitecore/content-sdk/content-sdk-dictionary-and-i18n"><img src="https://agentmods.dev/badge/skills/sitecore/content-sdk/content-sdk-dictionary-and-i18n/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 content-sdk-dictionary-and-i18n

Your own site · 80×15
<a href="https://agentmods.dev/skills/sitecore/content-sdk/content-sdk-dictionary-and-i18n"><img src="https://agentmods.dev/badge/skills/sitecore/content-sdk/content-sdk-dictionary-and-i18n.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 535 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.00029 $0.00535
Opus 5.5 $0.00012 $0.00214
Sonnet 5.5 $0.00006 $0.00107
Haiku 4.5 $0.00003 $0.00053

Measured 2mo ago against content hash d129078e7a5b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

content-sdk-dictionary-and-i18n 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 2mo 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.

packages/create-content-sdk-app/src/templates/angular/.agents/skills/content-sdk-dictionary-and-i18n/SKILL.md · 39 lines

How it starts

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

Dictionary and i18n (Angular)

Detail: AGENTS-angular-specifics.md#i18n-and-dictionary Read first: sitecore.config.ts, src/app/app.routes.ts, src/content-sdk/loaders/dictionary.loader.ts

When

  • Locale, dictionary, or translation issues
  • Adding a supported language

Rules

  • Locales are URL segments (/en/about). To add one, edit sitecore.config.ts and pass it in the first argument of defineConfig — the app ships an empty {} there:

    export default defineConfig({ angular: { locales: ['en', 'fr-FR'] } }, environment);
    
  • scConfig.angular.locales is the resolved read path consumed by scLocaleMatcher and splitLocaleFromPath — never assign to it at runtime

  • defaultLanguage is prepended to the list automatically when missing, and redirects.locales is derived from angular.locales — keep angular.locales as the single source of truth

  • defaultLanguage itself comes from env (CSDK_PUBLIC_SITECORE_DEFAULT_LANGUAGE / SITECORE_DEFAULT_LANGUAGE), not from a literal in sitecore.config.ts; keep it aligned with Sitecore

  • In loaders: locale from getLanguage(context) (fall back to scConfig.defaultLanguage), item path from splitLocaleFromPath(context.url, scConfig.angular.locales).nonLocalePath

  • Never send a locale-prefixed path to getPage

  • Dictionary comes from dictionaryLoader → route data dictionary → SitecoreContextService.dictionary(); SitecoreTranslateLoader bridges it to @ngx-translate/core

  • Page content is translated by Sitecore language versions, not by a client-side translation library

  • Let LocaleUrlSerializer and *scLink / *scRouterLink handle locale prefixes in links

Stop

  • Stop if assuming locale from headers or a cookie instead of the route param
  • Stop if adding a parallel translation source for page content

Docs: Content SDK for Angular.

Read the full file on GitHub · 39 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. 2mo ago First seen · 39 lines · 29 tokens per session scan A d129078e7a5b

Subscribe to this mod's changes

content-sdk-dictionary-and-i18n is a skill published in the GitHub repository Sitecore/content-sdk (38 stars, last pushed today), licensed Apache-2.0. It adds 29 tokens to every session and 535 once invoked, about $0.0001 per session on Opus 5.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-10-02.

Related

content-sdk-dictionary-and-i18n compared with skills from other repositories

content-sdk-dictionary-and-i18n next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
content-sdk-dictionary-and-i18nSitecore/content-sdkSkill38todayApache-2.0A29Claude Code, Codex
intl-expansionalirezarezvani/claude-skillsSkill31kyesterdayMITA27Claude Code
azure-ai-translation-text-pymicrosoft/skillsSkill3.3ktodayMITA60Claude Code
chinese-documentationjnMetaCode/superpowers-zhSkill8.6ktodayMITA62Claude Code
hardenfengshao1227/ccg-workflowSkill6.0k12d agoMITA62Claude Code
edit-sitemicrosoft/power-platform-skillsSkill1.2ktodayMITA104Claude Code
asc-subscription-localizationrorkai/app-store-connect-cli-skillsSkill1.2kyesterdayMITA60Claude Code