A Firefox extension that helps you learn languages while browsing the web, similar to the discontinued Toucan extension. Uses DeepL's powerful translation API with intelligent caching to minimize API usage.
- 🌐 Smart word replacement: Replaces words on web pages with translations in your target language
- 🎯 Intelligent caching: Saves API credits by caching translations locally
- 📚 Vocabulary tracking: Tracks your learning progress and discovered words
- 🎨 Beautiful tooltips: Hover over translated words to see the original
- ⚙️ Customizable settings: Adjust difficulty, replacement percentage, and target language
- 🚀 Fast and efficient: Minimal performance impact on browsing
French (default), Spanish, German, Italian, Portuguese, Russian, Japanese, Korean, Chinese, Dutch, Polish
- Download the latest signed
.xpi
file from thebuilds/signed/
folder - Open Firefox and go to
about:addons
- Click the gear icon (⚙️) and select "Install Add-on From File"
- Select the downloaded signed
.xpi
file - The extension will be permanently installed
- Download the latest
.xpi
file from thebuilds/unsigned/
directory - Important: This method requires Firefox Developer Edition, as the
about:config
toggle forxpinstall.signatures.required
doesn't work in regular Firefox - Open Firefox Developer Edition and navigate to
about:config
- Search for
xpinstall.signatures.required
and set it tofalse
- Go to
about:addons
- Click the gear icon (⚙️) and select "Install Add-on From File"
- Select the downloaded
.xpi
file - The extension will be permanently installed
- Open Firefox and go to
about:debugging#/runtime/this-firefox
- Click "Load Temporary Add-on"
- Select the
.xpi
file or themanifest.json
file from the extracted folder - Note: This method requires reinstalling after browser restart
-
Get a DeepL API key:
- Go to DeepL Pro API
- Sign up for a free account (500,000 characters/month free)
- Copy your API key
-
Configure the extension:
- Click the extension icon in Firefox toolbar
- Enter your DeepL API key
- Select your target language (French is default)
- Adjust difficulty level and replacement percentage
- Click "Enable Learning"
- Browse normally: The extension will automatically replace words with translations
- Hover for original: Hover over highlighted words to see the original text
- Click to learn: Click translated words to mark them as "learned"
- Adjust settings: Use the popup to customize your learning experience
- ID:
[email protected]
- Version: 2.0.0
- Minimum Firefox: 58.0
- Permissions: Active tab, storage, DeepL API access
- Your API key is stored locally in your browser
- Translation cache is stored locally for efficiency
- No data is sent to third parties except DeepL for translations
- Vocabulary data stays on your device
# Clone or download the source code
chmod +x build.sh
# Build with auto-incrementing patch version (default)
./build.sh
# Build with version increment options
./build.sh --patch # Increments patch version (2.0.0 → 2.0.1)
./build.sh --minor # Increments minor version (2.0.0 → 2.1.0)
./build.sh --major # Increments major version (2.0.0 → 3.0.0)
The build script will:
- Automatically increment the version number in
manifest.json
- Create a new
.xpi
file inbuilds/unsigned/
- Generate icon files from
extensionicon.png
- Update the version in the filename (e.g.,
language-learning-assistant-v2.0.1.xpi
)
The unsigned build will be saved to builds/unsigned/
directory.
- 403 Forbidden: Check your DeepL API key is valid
- 429 Rate Limit: The extension automatically rate-limits to prevent this
- No words highlighted: Check if learning is enabled and try adjusting the replacement percentage
- Tooltip positioning: Tooltips automatically adjust based on viewport space
Inspired by the original Toucan extension. Built as a modern, Firefox-compatible alternative using DeepL translations.