AI Card Translator
AI Card Translator is an Anki add-on that allows you to translate the currently displayed card instantly using AI, directly from the Reviewer screen.
It is designed for situations where you suddenly want to understand a card in another language during review, without breaking your learning flow.
π AnkiWeb Page
This add-on is officially published on AnkiWeb:
π https://ankiweb.net/shared/info/918408198
Installing from AnkiWeb is recommended for the easiest setup and automatic updates.
π― Key Features
- π Translate the currently reviewed card with one action
- π§ Uses AI for context-aware, natural translations
- π Supports multiple providers:
- πͺΆ Minimal UI β no interruption to review flow
- π§© Works with any note type and any language pair
π How It Works
- You are reviewing a card in Anki
- Trigger AI Card Translator from the Reviewer menu
- The cardβs content is sent to the selected AI model
- The translated text is generated
- The translation is written back to the configured field
This makes it ideal for:
- Language learning
- Translating medical / technical terms
- Understanding foreign-language source material during review
π¦ Installation
β
From AnkiWeb (Recommended)
- Open Anki
- Go to Tools β Add-Ons β Browse & Install
- Search for AI Card Translator
- Install and restart Anki
π Manual Installation (GitHub)
- Download or clone this repository
- Place it into:
Anki2/addons21/anki-ai-translator
- Restart Anki
π API Key Setup
This add-on requires an API key for the selected provider.
| Provider |
Environment Variable |
| OpenAI |
OPENAI_API_KEY |
| Gemini |
GEMINI_API_KEY |
API keys can be set via:
- System environment variables, or
- The add-onβs configuration dialog
βοΈ Configuration
Open:
Tools β Add-Ons β AI Card Translator β Config
Main options include:
- AI provider selection (OpenAI / Gemini)
- Model name
- Source language (auto-detect supported)
- Target language
- Output field (where the translation is written)
- Overwrite behavior (skip / append / replace)
π§ͺ Usage
Translate the current card
While reviewing a card:
More β AI Card Translator
The translation is generated instantly and written to the specified field.
This allows you to:
- Translate only when needed
- Keep original cards untouched
- Add translations incrementally during normal review
β οΈ Privacy Notes
Card contents are sent to external AI services.
Avoid translating cards containing sensitive or personal information unless you understand the data handling policies of the selected provider.
π Troubleshooting
| Problem |
Solution |
| βNo current card.β |
Run from the Reviewer screen |
| Translation not written |
Check output field name |
| API error |
Verify API key and model |
| Unexpected language |
Set target language explicitly |
π License
MIT License
π§ Related Add-ons
- AI Card Explainer β Generate explanations for cards
- AI Card Splitter β Split large cards into smaller ones
- HTML Exporter for Anki β Export cards to HTML / PDF
These add-ons are designed to work together as a modular, AI-powered Anki workflow.