L
LocalMode

Translate Block · LocalMode

Translate across 24 directed offline Opus-MT language pairs (English-centric, every model id verified) with swap-direction that carries the output into the input, per-panel character counts, copy-with-confirmation, and cancel. Resolves the Chrome Translator API when available (zero download) and automatically falls back to the pair's Opus-MT Transformers.js model behind an explicit download gate, with a truthful provider badge. No model bytes download until an explicit in-block action.

npx shadcn@latest add https://localmode.ai/r/ui/blocks/writing-tools/translate.json
Loading the source for ui/blocks/writing-tools/translate…

ui/blocks/writing-tools/translate