Spellcheck
Supervertaler includes a powerful spellcheck system that highlights misspellings while you translate, with support for regional language variants.
How It Works
Supervertaler uses a three-tier spellcheck system that automatically selects the best available backend:
| Backend | Description | Languages |
|---|---|---|
| Hunspell (cyhunspell) | Native C library, best accuracy | Any language with .dic/.aff files |
| Spylls | Pure Python Hunspell (recommended for Windows) | Bundled: EN, RU, SV + any .dic/.aff files you add |
| pyspellchecker | Built-in fallback | EN, NL, DE, FR, ES, PT, IT, RU |
The system automatically falls back through backends: Hunspell → Spylls → pyspellchecker.
Features
- Red wavy underlines for misspelled words in the translation grid
- Right-click context menu with spelling suggestions
- Add to Dictionary – Save a word permanently
- Ignore – Skip a word for the current session only
- Regional variants – Distinguish between en_US “color” and en_GB “colour”
Language Variants
Supervertaler supports regional language variants. The spellcheck dropdown shows variants like:
- English (US), English (GB), English (AU), English (CA), English (ZA)
- Portuguese (PT), Portuguese (BR)
- Spanish (ES), Spanish (MX), Spanish (AR)
- French (FR), French (CA), French (BE)
- German (DE), German (AT), German (CH)
- Dutch (NL), Dutch (BE)
Spellcheck Info Dialog
Access detailed information about your spellcheck setup:
- Click the 🔤 Spellcheck button in the grid toolbar
- Or go to View → Spellcheck Info
The dialog shows:
- Current language and backend
- Available languages
- Diagnostic information (which backends are available/initialized)
- Links to download additional dictionaries
- Custom dictionary word count
Adding More Dictionaries
To add spellcheck support for additional languages or variants:
-
Download Hunspell dictionaries (.dic and .aff files) from:
- hunspell.memoq.com – 70+ languages
- GitHub: wooorm/dictionaries – 92+ languages
- LibreOffice Extensions – Rename .oxt to .zip
-
Extract the files – You need both
.dicand.afffiles (e.g.,nl_NL.dicandnl_NL.aff) -
Place them in the dictionaries folder:
- Open Supervertaler
- Go to Spellcheck Info dialog
- Click ”📁 Open Dictionaries Folder”
- Copy your .dic and .aff files there
- You can also organize in subfolders (e.g.,
dictionaries/en/en_GB.dic)
-
Restart Supervertaler – The new language will appear in the dropdown
Custom Dictionary
You can add words that Supervertaler should always accept:
- Right-click a “misspelled” word → Add to Dictionary
- Or manually edit
user_data/dictionaries/custom_words.txt
Custom words are stored permanently and apply to all languages.
Troubleshooting
Spellcheck not working?
- Check the language – Make sure the correct language variant is selected
- Check the backend – Open Spellcheck Info to see which backend is active
- Missing dictionaries – Some languages require manual dictionary installation
Wrong language variant?
If you need British English but only have US English:
- Download
en_GB.dicanden_GB.afffrom one of the dictionary sources - Place them in your dictionaries folder
- Select “English (GB)” from the dropdown
Linux crashes?
On Linux, some Hunspell configurations can cause crashes. Try:
- Installing proper Hunspell dictionaries:
sudo apt install hunspell-<lang>(e.g.,hunspell-plfor Polish) - Temporarily disabling spellcheck in Settings → View Settings
- See Linux-Specific Issues for more details
Technical Details
For developers and advanced users:
| Project | Description |
|---|---|
| pyspellchecker | Built-in word frequency spellcheck |
| spylls | Pure Python Hunspell implementation |
| Hunspell | Original C/C++ spellcheck library |
The spellcheck manager is located in modules/spellcheck_manager.py and provides:
- Automatic backend selection
- Dictionary file detection (including subdirectories)
- Word caching for performance
- Custom dictionary management