Are you the author? Sign in to claim
Chat with claude.ai in Chinese, send in English, and read back in Chinese.
English | 中文
An independent, unofficial extension for chatting on claude.ai in Chinese, sending in English, and reading replies back in Chinese.

Yifa is a message-level bilingual relay, not a generic page translator. It lets you write in Chinese, review the English text Claude will actually receive, and read English replies back in Chinese while keeping the original available.
Token efficiency depends on the Claude model and translation direction. In our reproducible 3,481-sentence original-Chinese benchmark, Yifa's Google English translations used 18.9% fewer input tokens on Claude Sonnet 4.6, but 18.6% more on Claude Sonnet 5. Yifa therefore makes no blanket token-saving claim. See the large-sample benchmark, raw translations, and verification scripts.
Ordinary translation extensions only translate what is shown on the page; they never change what you send. Yifa works on the message itself:
Select any text for an instant translation:

Switch reply layout modes on the fly:

chrome://extensions and enable Developer mode.Works on Chromium-based browsers (Chrome, Edge, etc.).
Create a claude.ai Project with the custom instruction Always reply in English and chat inside it, so replies come back in English too.
Google is the default and needs no setup. Two optional engines give higher quality if you add a free API key — pick them in the popup under Advanced. Every key is stored locally in your browser and sent only to that provider.
| Engine | Setup | Best for |
|---|---|---|
| None (default) | Everyday use. Free, works out of the box; unofficial, may occasionally rate-limit. | |
| DeepL | Free API key | Higher-quality machine translation, especially technical text. |
| Gemini | Free API key | Low-latency Flash-Lite translation with context and tone awareness. |
Without a key, DeepL and Gemini both fall back to Google, so nothing breaks.
The repository includes 33 Playwright browser regression scenarios covering send interception, review/undo, stale-translation races, guarded auto-send, streaming replies, all three layouts, code/link preservation, partial-failure retry, cache re-rendering, and Google/DeepL/Gemini routing.
The suite runs against a deterministic claude.ai DOM fixture with mocked translation responses. It does not send test text to any translation provider.
npm ci
npx playwright install chromium
npm test
The same suite runs on every push and pull request through GitHub Actions.
Project management using GitHub Issues + Git worktrees for parallel agent execution
Core skills library for Claude Code with 20+ battle-tested skills including TDD, debugging, and brainstorming
Coding agent session manager supporting Claude Code, Gemini CLI, Codex, and more
191 agents, 155 skills, and 82 plugins cross-compatible with Claude Code, Cursor, and Codex