Internationalizing Websites

Internationalizing Websites is a skill for Claude Code, Codex from littleben/awesomeAgentskills. It costs 70 tokens per session (1,946 once invoked), scanned A, a copy of Internationalizing Websites, MIT.

A guide for adding multiple languages to Next.js websites, including translated content and search settings for each language. It covers hreflang tags, localized sitemaps, language-specific pages, and testing.

In plain words
What is it for?
It is for adding languages, organizing translation files, configuring international SEO, generating language-aware sitemaps, and validating localized pages.
Why use it?
It helps avoid treating translation as only a text change by also configuring how search engines find and index each language version.

Skill for Claude CodeCodex

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

Good fit It is for adding languages, organizing translation files, configuring international SEO, generating language-aware sitemaps, and validating localized pages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/littleben/awesomeagentskills/internationalizing-websites
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 littleben/awesomeAgentskills --skill internationalizing-websites
Clone the repo
git clone --depth 1 https://github.com/littleben/awesomeAgentskills

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 Internationalizing Websites

README.md
[![agentmods](https://agentmods.dev/badge/skills/littleben/awesomeagentskills/internationalizing-websites/github.svg)](https://agentmods.dev/skills/littleben/awesomeagentskills/internationalizing-websites)
Your own site
<a href="https://agentmods.dev/skills/littleben/awesomeagentskills/internationalizing-websites"><img src="https://agentmods.dev/badge/skills/littleben/awesomeagentskills/internationalizing-websites/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 Internationalizing Websites

Your own site · 80×15
<a href="https://agentmods.dev/skills/littleben/awesomeagentskills/internationalizing-websites"><img src="https://agentmods.dev/badge/skills/littleben/awesomeagentskills/internationalizing-websites.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,946 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00070 $0.01946
Opus 5.5 $0.00028 $0.00778
Sonnet 5.5 $0.00014 $0.00389
Haiku 4.5 $0.00007 $0.00195

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

Security

Grade A, and why

Internationalizing Websites scanned grade A with 1 finding 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.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/i18n-add-languages.mjs, scripts/i18n-add-schema.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl https://your-site.com/sitemap.xml | grep hreflang
Origin

This is a copy

100% identical to Internationalizing Websites — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

internationalizing-websites/SKILL.md · 269 lines

How it starts

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

Internationalizing Websites

Complete workflow for adding multi-language support to Next.js websites with SEO best practices.

When to use this Skill

  • Adding new language versions to existing website
  • Setting up i18n (internationalization) for new website
  • Configuring SEO for multiple languages
  • User mentions: "add language", "translation", "localization", "hreflang", "multi-language"

Supported Languages

Common target markets:

  • 🇺🇸 English (en) - Global market
  • 🇯🇵 Japanese (ja) - Asian market
  • 🇨🇳 Chinese (zh) - Chinese market

Extended support available for:

  • Korean (ko), Portuguese (pt), Spanish (es), French (fr), German (de)
  • Arabic (ar), Vietnamese (vi), Hindi (hi), Indonesian (id), Thai (th)
  • Traditional Chinese (zh-hk), Italian (it), Russian (ru)

Internationalization Workflow

Copy this checklist and track your progress:

i18n Progress:
- [ ] Step 1: Prepare base language files
- [ ] Step 2: Add new language files
- [ ] Step 3: Update configuration files
- [ ] Step 4: Add translations
- [ ] Step 5: Configure SEO elements
- [ ] Step 6: Validate and test

Step 1: Prepare base language files

Ensure English (en.json) files exist as templates:

Required directories:

  • i18n/messages/en.json - Main translations
  • i18n/pages/landing/en.json - Landing page translations

Verify structure:

# Check if base files exist
ls i18n/messages/en.json
ls i18n/pages/landing/en.json

If missing, create them with complete translation keys for your website.

Step 2: Add new language files

Run the language addition script:

node scripts/i18n-add-languages.mjs

What this script does:

  • Copies en.json to all target language files
  • Updates i18n/locale.ts with new locales
  • Updates i18n/request.ts with language mappings
  • Updates public/sitemap.xml with new language URLs

Script configuration (in i18n-add-languages.mjs):

  • languages array - List of languages to add
  • languageNames object - Language display names
  • targetDirs array - Directories containing translation files

Read the full file on GitHub · 269 lines

Files

What ships with it

6 files 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. 2mo ago First seen · 269 lines · 70 tokens per session scan A 59dc74b64249

Subscribe to this mod's changes

Internationalizing Websites is a skill published in the GitHub repository littleben/awesomeAgentskills (192 stars, last pushed 9mo ago), licensed MIT. It adds 70 tokens to every session and 1,946 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to Internationalizing Websites, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

localized-pricing

Dodo Payments multi-currency pricing, covering fixed localized prices per country or currency, Adaptive Currency live FX conversion at checkout, and purchasing power parity (PPP) percentages. Use when pricing in INR, EUR, or other local currencies, offering regional or PPP discounts, or resolving billing country and…

dodopayments/skills · 65 tokens

i18n

Audit internationalization coverage and find hardcoded strings. Use when asked to "check i18n", "find hardcoded strings", or verify translation coverage. Don't use for backend code, projects without an i18n library, accessibility (/a11y-audit), or bundle size (/perf-audit).

helderberto/agent-skills · 65 tokens

loom-i18n

Internationalization and localization patterns for multi-language applications.

cosmix/loom · 15 tokens

dev-spec-driven-implementation

Use to implement a scoped multi-step change from an existing spec, handoff, issue, or explicit delivery request. Do not trigger for read-only analysis, planning, or a trivial localized edit.

BlueSkyXN/Codex-is-all-you-need · 45 tokens

dev-bugfix

Use for a concrete defect or regression that needs reproduction, root-cause diagnosis, a fix, and regression validation. Do not trigger for routine localized edits or primarily performance-focused work.

BlueSkyXN/Codex-is-all-you-need · 41 tokens

drupaltools-translations

Comprehensive guide for Drupal multilingual and translation workflows including interface translation, configuration translation, entity translation, PO/POT file management, and translation service integration. Use this skill when the user asks about Drupal translations, multilingual setup, i18n, translation modules…

drupaltools/skills · 77 tokens