From cc-trans
Write and read in your own language while Claude works in English: prompts go out translated, replies come back with a translation, code untouched.
9 events · 15 calls
Ships in cc-trans. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
process.runhttp.fetchenv.getsettings.readmodel.classifymodel.completeprompt.submitEach event it registers a hook on, with the matcher when it sets one
session.startturn.startturn.completeprompt.submitsession.appendprompt.editprompt.changecommand.run{command=translate}ui.render{component=AssistantMessage}ui.render{component=UserMessage}ui.render{component=AbovePrompt}ui.render{component=PromptHint}Every mods API method its source calls, by namespace
everynowregistergetfetchclassifycompleterunmessagesreadgetsetresolvestatustoastLANGLC_ALLLC_MESSAGESWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.tsx (written ./register.tsx)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
npx claudepluginhub midagedev/cc-trans --plugin cc-trans