Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Adonis0123MITIn 1 marketplace
Keeps Claude's replies in Chinese when they drift into English during long sessions. Its Stop hook blocks an off-language final reply once, and a PostToolUse hook adds reminders; only Chinese (zh) is supported.
Trending plugins
7-day copy clicks
Run automatically on Claude Code events. Claude doesn't decide.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
reply-language, chinese, localization, hooks, stop-hook, language-setting, i18n
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
English | 中文
A hook plugin for Claude Code and Codex that keeps the agent's user-facing replies in your language. It works once installed: the language comes from REPLY_LANGUAGE, else Claude Code's language setting, else the system language.
First release: only Chinese (zh) is supported. Any other language makes the plugin do nothing.
In long sessions with many tool calls, replies drift into English without anyone noticing, even when your instructions ask for Chinese. The author measured English at 25–32% of progress notes at one point.
Only prose is measured. Code blocks, inline code, URLs and paths are removed first. A reply fails when, in what is left:
zh: kana (hiragana and katakana) ≥ 20 (10 for progress notes) and kana ≥ 0.5 × Han characters. Japanese prose writes more kana than kanji, while a Chinese reply that quotes a Japanese word or sentence has a few kana against many Han characters, so it passes.The target language is the first of these sources that has a value. Later sources are not read, so an unsupported value stops there:
REPLY_LANGUAGE (off or none turns the plugin off).language setting, from <cwd>/.claude/settings.local.json, <cwd>/.claude/settings.json, then ${CLAUDE_CONFIG_DIR:-~/.claude}/settings.json. cwd comes from the hook input. The setting is free text, so 简体中文, 中文, Chinese and zh-CN all mean zh. An unreadable file is skipped.defaults read -g AppleLanguages; otherwise, or when that fails, the first set of LC_ALL, LC_MESSAGES, LANG.Every error, missing field or short message lets the stop through (exit 0, no output). No network, no model call.
With target language Chinese:
| Reply | Result |
|---|---|
| A final reply mostly in English | Stop blocked once |
| A final reply in Japanese | Stop blocked once |
| A progress note mostly in English | Reminder, never blocked |
| Chinese with English terms, code, paths and URLs | Allowed |
A short reply (OK, done. Tests pass.) | Allowed: too short to judge |
For a final reply:
This reply is mostly not in Chinese. Rewrite it in Chinese (code, commands, paths and technical terms may stay as they are) before ending the turn, and write the rest of this turn's progress notes in Chinese too.
For a progress note:
The last progress note shown to the user was mostly not in Chinese. Write user-facing text in Chinese (code, commands, paths and technical terms may stay as they are), starting with the next sentence.
Claude Code (2.1.292 or later), one command:
claude plugin install reply-language --marketplace Adonis0123/adonis-skills
Codex:
codex plugin marketplace add Adonis0123/adonis-skills
codex plugin add reply-language@adonis-skills
Codex skips plugin hooks until you trust them: open Codex, run /hooks and trust this plugin's hooks. Codex asks again after the script changes. In Codex only the Stop check takes effect.
Requires python3 on PATH. Supports macOS, Linux and WSL; native Windows is not supported.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub adonis0123/adonis-skills --plugin reply-languagePlugins from other owners that cover similar ground