fanyi

by jax · ★ 3 · updated 2 days ago

PanesBandsReskinsGuardsCommandsPromptvalidates

0

Write to Claude Code in your own language while Claude works in English: prompts are translated to English, and each reply gets a streamed translation underneath.

install fanyi

Install

/plugin marketplace add JrCx7scC/claude-code-fanyi
/plugin install fanyi@claude-code-fanyi

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startcommand.runui.renderprompt.submitsession.appendtool.call
API calls
$.clock.after$.clock.every$.command.register$.mcp.call$.mcp.connect$.session.id$.store.get$.store.set$.ui.close$.ui.invalidate$.ui.log$.ui.open$.ui.resolve$.ui.toast
Draws
AbovePromptPaneAssistantMessageUserMessageAskUserQuestionToolUseToolResult
Can see
every promptAskUserQuestion calls/"^mcp__plugin_.+_translator__"/ calls
Reach
level 3 of 3 other: $.mcp.connectMCP serverspersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/JrCx7scC/claude-code-fanyi
Path in repo
repository root
Author
jax @JrCx7scC
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.