AI Card Translator (Full Version)

AnkiWeb addon 543442841

Duplicates selected notes into the Default deck and translates specified fields using OpenAI or Gemini, leaving original cards untouched.
AI-generated summary; may contain mistakes.

card-creationainote-management

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
0 (👍 0 · 👎 0)
Updated
2025-12-24
Anki versions
23.10~
License
MIT (from the GitHub repository)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON, Git Attributes
Description language
en

Maintenance

stale

  • Last update or commit: 2025-12-24 (312 days before the snapshot).
  • GitHub Actions workflows: 1.
  • Commits in the last year: 7.
  • Issues: 0 open, 0 closed.
  • Pull requests: 0 open, 1 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
23.10+2025-12-24
History across monthly snapshots

Loading…

Similar addons

AnkiInfinite

Generates GPT-4 flashcards from a specified topic, matching your deck's note type and style, with duplicate detection, optional previews, and AI-generated tags.

card-creationaiduplicates

2 votes 9% approval 👍 1 · 👎 1 ⭐ 0 Anki 2.1.1~ Updated 2024-09-23
LLM Card Fill

Queries Anthropic or OpenAI APIs with custom prompts to fill Anki note fields, supporting batch updates, card creation, and per-note-type configurations.

card-creationainote-management

2 votes 9% approval 👍 1 · 👎 1 ⭐ 1 Anki 26.09~ Updated 2026-09-24
LUTE to Anki importer

Imports LUTE terms and translations into Anki as two-field flashcards, with configurable status, parent-term, tag, deck, duplicate, and auto-import filters.

card-creationimportschedulingbeta

1 votes 21% approval 👍 1 · 👎 0 ⭐ 1 Anki 2.1.66~ Updated 2025-01-19

Description


Translate your cards — without touching the originals.

Duplicate selected Anki notes and generate clean, predictable translations using AI.
No overwriting, no surprises — your original cards stay exactly as they are.

Key features

• Duplicates selected notes into the Default deck
• Translates specified fields (default: Front / Back)
• Supports OpenAI and Google Gemini (configurable)
• Fully customizable prompt, languages, and models
• <img> tags are preserved exactly (never translated or moved)
• API keys via config or environment variables

How to use

Select notes in the Anki Browser, then run:
Edit → AI Translate Selected Notes
Each note is duplicated, and translations are written only to the duplicate.

Design philosophy

• Never modify original notes
• No hidden automation or background rewriting
• Predictable, duplication-based workflow
• Safe handling of HTML and media

This add-on is optimized for users who rely on the default Front / Back note type,
but field names can be customized to match any template.


Configuration

Access via:
Tools → Add-ons → AI Card Translator (Full Version) → Config

You can configure:
• Provider (openai / gemini)
• API keys and models
• Source / target field names
• Source / target languages
• Translation prompt


==================================================

API Key Required

This add-on uses external AI services and requires your own API key.
Supported providers include OpenAI and Google Gemini.
No API key is included or provided by this add-on.

How to Set the API Key (Environment Variable)

macOS
Run the following command in Terminal:
launchctl setenv OPENAI_API_KEY your_api_key_here
or for Gemini:
launchctl setenv GEMINI_API_KEY your_api_key_here
Restart Anki after setting the variable.


Windows

  1. Open "Environment Variables" from System Settings.
  2. Add a new user variable:
      Variable name: OPENAI_API_KEY or GEMINI_API_KEY
      Variable value: your_api_key_here
  3. Restart Anki after saving.

Once set, the add-on automatically detects the key on startup.


==================================================

Source code

GitHub: https://github.com/yuwayanagitani/translator-ai-2

==================================================

Supports

This tool is built to support medical students and residents.
Support via thumbing up 👍 on this page and Buy Me a Coffee ☕ motivates me a lot!!


README

translator-ai-2

This is an Anki add-on creating translated version of original cards.

Features

  • Duplicate selected notes into the Default deck and translate both Front and Back.
  • API keys can be set via environment variables or the add-on config UI.
  • Custom config dialog is available from Tools → Add-ons → Config.

Configuration

Environment variables (optional):

  • OPENAI_API_KEY
  • GEMINI_API_KEY

Config fields (via add-on config):

  • Provider (openai or gemini)
  • API keys
  • Models
  • Source/target fields
  • Source/target language
  • Prompt

Usage

  1. Open the browser, select notes.
  2. Use Edit → AI Translate Selected Notes to duplicate the notes into the Default deck with translated Front/Back.
  3. Configure API keys and models via Tools → Add-ons → Translator AI 2 → Config.