Lightning-fast translation Chrome/Brave extension using Chrome's built-in AI.
- Selection Translation: Select text → Right-click → "Translate selection"
- Full Page Translation: Right-click anywhere → "Translate entire page" (bilingual mode shows original + translated)
- Hover Translation: Hover over paragraphs to see instant translations
- Chrome 138+ or Brave (141+ recommended)
- Enable Chrome AI flags (see below)
- Open
chrome://flags(orbrave://flags) - Search for and enable:
#optimization-guide-on-device-model - Relaunch browser
- First use will download ~3GB AI model (one-time, automatic)
- Open
chrome://extensions - Enable "Developer mode" (top right)
- Click "Load unpacked"
- Select the
quick-translatefolder
- Select any text on a webpage
- Right-click → "Translate selection"
- Translation appears in a popup
- Right-click anywhere on page
- Click "Translate entire page"
- Bilingual view shows original + translated text
- Click "Restore Original" button to undo
- Hover over a paragraph for 300ms (configurable)
- Translation tooltip appears near cursor
- Toggle on/off via right-click menu
Click the extension icon to access:
- Target Language: Default language to translate to
- Hover to translate: Enable/disable hover feature
- Bilingual mode: Show both languages on page translation
- Hover delay: Time before translation appears (100-2000ms)
┌─────────────────────────────────────────────────────┐
│ Chrome Extension │
│ ┌──────────────┐ ┌──────────────┐ │
│ │ Background.js│ │ Content.js │ │
│ │ (Service │ │ (DOM access, │ │
│ │ Worker) │ │ UI overlay) │ │
│ └──────────────┘ └──────────────┘ │
└─────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────┐
│ Chrome Built-in AI APIs │
│ ┌────────────────┐ ┌────────────────────┐ │
│ │ Translator API │ │ LanguageDetector │ │
│ │ (Gemini Nano) │ │ API │ │
│ └────────────────┘ └────────────────────┘ │
│ │
│ ✓ Zero latency (local processing) │
│ ✓ Completely private (data never leaves device) │
│ ✓ Works offline after model download │
│ ✓ No API costs │
└─────────────────────────────────────────────────────┘
| Operation | Expected Latency |
|---|---|
| Hover translate | 50-150ms |
| Selection translate | 100-300ms |
| Full page (1000 words) | 2-5 seconds |
English, Spanish, French, German, Italian, Portuguese, Russian, Japanese, Korean, Chinese (Simplified/Traditional), Arabic, Hindi, Dutch, Polish, Turkish, Vietnamese, Thai, Indonesian, Ukrainian, Czech, Greek, Hebrew, Swedish, Danish, Finnish, Norwegian, and more.
- Make sure Chrome 138+ is installed
- Enable
chrome://flags/#optimization-guide-on-device-model - Relaunch browser
- Check
chrome://components→ "Optimization Guide On Device Model" should show a version
- First translation per language pair downloads a small model (~100MB)
- Subsequent translations are instant
- Check internet connection for initial model download
- Chrome internal pages (chrome://) are restricted
- Some sites may block content scripts
quick-translate/
├── manifest.json # Extension configuration
├── background.js # Service worker (context menu)
├── lib/
│ ├── translator.js # Chrome AI Translator wrapper
│ └── language-detector.js
├── content/
│ └── content.js # Main content script
├── popup/
│ ├── popup.html # Extension popup
│ ├── popup.js
│ └── options.html # Settings page
├── styles/
│ └── overlay.css # Translation overlay styles
└── icons/
└── icon*.png # Extension icons
MIT