i18n-guide

i18n-guide is a cursor rule for Cursor from gracefullight/docusaurus-plugins. It costs 1,041 tokens per session, scanned A, original, MIT.

A set of rules for choosing the language and translation style used in agent responses and workflows.

In plain words
What is it for?
Use it to resolve response languages, apply formal or conversational translation voices, and decide which user-facing content needs localization.
Why use it?
It prevents language and tone from being chosen inconsistently when user preferences or project settings specify a different response style.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions CLAUDE.md; mentions subagents.

Good fit Use it to resolve response languages, apply formal or conversational translation voices, and decide which user-facing content needs localization.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/gracefullight/docusaurus-plugins/i18n-guide
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.

Clone the repo
git clone --depth 1 https://github.com/gracefullight/docusaurus-plugins

Made for: Cursor.

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 i18n-guide

README.md
[![agentmods](https://agentmods.dev/badge/rules/gracefullight/docusaurus-plugins/i18n-guide/github.svg)](https://agentmods.dev/rules/gracefullight/docusaurus-plugins/i18n-guide)
Your own site
<a href="https://agentmods.dev/rules/gracefullight/docusaurus-plugins/i18n-guide"><img src="https://agentmods.dev/badge/rules/gracefullight/docusaurus-plugins/i18n-guide/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 i18n-guide

Your own site · 80×15
<a href="https://agentmods.dev/rules/gracefullight/docusaurus-plugins/i18n-guide"><img src="https://agentmods.dev/badge/rules/gracefullight/docusaurus-plugins/i18n-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,041 This file is loaded in full into every session.
When invoked 1,041 The same file — it is already loaded in full.
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.01041 $0.01041
Opus 5.5 $0.00416 $0.00416
Sonnet 5.5 $0.00208 $0.00208
Haiku 4.5 $0.00104 $0.00104

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

Security

Grade A, and why

i18n-guide 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 1mo 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.

.cursor/rules/i18n-guide.mdc · 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.

i18n Guide — Response Language Rules

Rules for determining and applying response language across agents and workflows.

Language Resolution

Response language is determined by the following priority:

  1. User prompt language — if the user writes in a specific language, respond in that language
  2. oma-config.yaml — language field in .agents/oma-config.yaml
  3. Fallback — English (en) if neither of the above is set
# .agents/oma-config.yaml
language: ko  # ko, en, ja, zh, ...

Translation Voice

When translating user-facing content, the translation_voice field in .agents/oma-config.yaml controls global rhythm and formality. It is applied on top of oma-translator content-type persona routing.

Value Effect
formal strict complete sentences, no fragments, formal register only
balanced (default) content-type defaults — fragments only in label/cell positions
interpreter punchy, audience-first, spoken cadence; fragments allowed when natural

Workflows that translate user-facing content should respect this setting via the oma-translator skill rather than hardcoding a tone.

What to Localize

Category Localize? Example
Natural language responses Yes User-facing explanations and descriptions
Error messages (user-facing) Yes Authentication failure messages
Status updates / progress reports Yes "Phase 2 complete, starting Phase 3"
Charter Preflight output Yes Descriptive text localized, keywords stay in English
Result files (result-*.md) Yes User-readable text

What Stays in English

Category Why Example
Code (variables, functions, classes) Codebase consistency getUserProfile()
Git commit messages Conventional commits standard feat: add user auth
PR titles/body GitHub collaboration standard fix: resolve race condition
Technical / domain terms Meaning loss when translated API, JWT, middleware, scaffold
File paths / config keys System identifiers .agents/config/
Log levels / status keywords Parsing compatibility Status: completed, BLOCKED
CLAUDE.md / SKILL.md content System prompts Keep English originals

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. 1mo ago First seen · 96 lines · 1,041 tokens per session scan A 3a16b7aad89c

Subscribe to this mod's changes

i18n-guide is a cursor rule published in the GitHub repository gracefullight/docusaurus-plugins (23 stars, last pushed 24d ago), licensed MIT. It adds 1,041 tokens to every session, about $0.0042 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-09-03.