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.
npx agentmods add rules/kubev2v/forklift-console-plugin/i18ngit clone --depth 1 https://github.com/kubev2v/forklift-console-pluginWrote 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.
[](https://agentmods.dev/rules/kubev2v/forklift-console-plugin/i18n)<a href="https://agentmods.dev/rules/kubev2v/forklift-console-plugin/i18n"><img src="https://agentmods.dev/badge/rules/kubev2v/forklift-console-plugin/i18n.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.01028 |
| Opus 5 | $0.00000 | $0.00514 |
| Sonnet 5 | $0.00000 | $0.00206 |
| Haiku 4.5 | $0.00000 | $0.00103 |
Grade A, and why
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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 144 lines — stays where its author put it; the contents beside it link to each section on GitHub.
i18n Guidelines (Supplement)
For basic i18n usage (useForkliftTranslation, ForkliftTrans, t function), see AGENTS.md. This rule adds detailed patterns.
1. Overview
- Uses
react-i18nextfor runtime translations - Plugin namespace:
plugin__forklift-console-plugin - Translation files:
locales/{lang}/plugin__forklift-console-plugin.json - Source language: English (en)
2. Translation Utilities
For the three utilities (useForkliftTranslation, ForkliftTrans, t) and when to use each, see AGENTS.md.
3. String Patterns
Interpolation
t('Hello, {{name}}', { name: userName })
t('{{count}} of {{total}} VMs running', { count: running, total })
Pluralization
t('{{count}} plan', { count: planCount })
// Requires locale file entries (i18next v4 / CLDR suffixes):
// "{{count}} plan_one": "{{count}} plan"
// "{{count}} plan_other": "{{count}} plans"
// Keys carry _one/_other/_many; VALUES must NOT include those suffixes.
Extractor defaultValue (i18next-cli)
In i18next.config.ts, return the 4th argument (value = unsuffixed source string), not key:
defaultValue: (_key, _namespace, _language, value) => value
For plurals, key is already suffixed (…_one). Returning key leaks CLDR suffixes into secondary-locale placeholder values. English is cleaned by ocp-i18n-defaults; secondary locales are not.
4. Console Extensions
For labels in plugin extension files, use the special format:
{
"type": "console.navigation/href",
"properties": {
"name": "%plugin__forklift-console-plugin~Migration Plans%",
"href": "/mtv/plans"
}
}
5. What to Translate vs Not
Always Translate
- Page titles, headings, button labels
- Form labels, placeholders, help text
- Error messages, success messages
- Tooltip text, table headers
- Empty state and loading messages
Never Translate
- Proper nouns (Kubernetes, OpenShift, Forklift, PatternFly)
- Technical identifiers (VM names, namespaces, resource names)
- API field names, code values, URLs
- Log messages (internal)
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.
- 3d ago First seen · 144 lines · 0 tokens per session scan A 3dfd88c4d03d
i18n is a cursor rule published in the GitHub repository kubev2v/forklift-console-plugin (11 stars, last pushed 4d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,028 tokens. 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.
Other cursor rules, from other repositories
internationalization
Cursor rule "internationalization" from dtyq/magic, covering internationalization (i18n) rules, 国际化基本规范, 1. 文件结构, 2. 命名空间规范 and 3. 组件中使用国际化.
cmd-moodle-mustache-lint
Lint Mustache templates for accessibility, security, hard-coded strings, and Moodle template conventions. (invoke by typing: @moodle-mustache-lint).
uninettuno-monografia
Regole UNINETTUNO per tesi TRIENNALE in italiano, con termini tecnici inglesi ammessi.
controlflow-docs-evals
Rules for documentation parity, localized tutorials, and eval verification.
report
보고서를 작성할 때 참고하세요.
frontend-translation-management
Maintain consistent translation practices across the frontend application to ensure proper internationalization and user experience.