english-only — Claude Code rule: what it does and how to install
The english-only Claude Code rule sets English as the language for interface copy and labels. It applies across project files.
AGPL-3.0 ★ 1,120 updated 2026-11-16
.cursor/rules/english-only.mdcWhat english-only does
The rule sets English for interface wording, error messages, and logs. It also covers text shown to users in components, plus variable and function names and comments.
It applies to every file and stays active. Another language is allowed when the user explicitly asks for it. In Claude Code, place the rule at .claude/rules/english-only.md.
What it helps with
- keep interface labels in English
- write error messages and logs in English
- align component copy with the project's language rule
Example prompts for the agent
- Add a button with its label written in English.
- Write the error message and log entry in English.
- Keep function names and code comments in English.
How to install english-only
Manually: put the files in place
.cursor/rules/english-only.mdcFrontmatter: description, globs, alwaysApply
Manually: put the files in place
.claude/rules/english-only.mdThe paths frontmatter field limits the files: move globs from the source into paths
AGENTS.md
Codex reads AGENTS.md: paste the rule text there
Manually: put the files in place
.github/instructions/english-only.instructions.mdThe applyTo field sets which files it applies to: move globs from the source into applyTo
Manually: put the files in place
.devin/rules/english-only.mdManually: put the files in place
.clinerules/english-only.mdStep by step, with commands for each platform: Cursor rules: .mdc files, four modes and what replaced .cursorrules
Questions about english-only
How do I install english-only in Claude Code?
Add the rule at .claude/rules/english-only.md.
What does english-only do?
It sets English for interface copy, errors, and logs, as well as variable and function names and comments. The user can explicitly request another language.
Which files does english-only cover?
The rule covers all project files and is always active.