No description
Find a file
2026-04-30 18:54:01 +05:00
.github/workflows Update README and manifest with detailed description; add GitHub Actions workflow for release publishing 2026-04-30 18:54:01 +05:00
src Implement AI translation functionality 2026-04-28 18:54:15 +05:00
.editorconfig sample 2026-04-27 18:27:47 +05:00
.gitignore Implement AI translation functionality 2026-04-28 18:54:15 +05:00
.npmrc sample 2026-04-27 18:27:47 +05:00
AGENTS.md sample 2026-04-27 18:27:47 +05:00
CHANGELOG.md Implement AI translation functionality 2026-04-28 18:54:15 +05:00
esbuild.config.mjs sample 2026-04-27 18:27:47 +05:00
eslint.config.mts sample 2026-04-27 18:27:47 +05:00
LICENSE Initial commit 2026-04-27 18:21:49 +05:00
manifest.json Update README and manifest with detailed description; add GitHub Actions workflow for release publishing 2026-04-30 18:54:01 +05:00
package-lock.json Implement AI translation functionality 2026-04-28 18:54:15 +05:00
package.json Implement AI translation functionality 2026-04-28 18:54:15 +05:00
README.md Update README and manifest with detailed description; add GitHub Actions workflow for release publishing 2026-04-30 18:54:01 +05:00
styles.css Implement AI translation functionality 2026-04-28 18:54:15 +05:00
TESTING.md Update installation instructions in README and TESTING files 2026-04-28 19:03:38 +05:00
tsconfig.json Implement AI translation functionality 2026-04-28 18:54:15 +05:00
version-bump.mjs sample 2026-04-27 18:27:47 +05:00
versions.json sample 2026-04-27 18:27:47 +05:00

L10n.dev - AI Translator for Obsidian

Translate your Obsidian notes using l10n.dev — an AI-powered localization API. Works on desktop and mobile.

Features

  • Context-aware translations using advanced AI. Translate to 165+ languages.
  • Preserves Markdown formatting and struvture.
  • Translate the active note via the command palette, ribbon icon, or right-click context menu.
  • Dynamic language search — type a language name to find it instantly (no hardcoded list)
  • Remembers your last used language — one keypress to repeat the same translation.
  • Three output modes: create a new note, replace the current note, or append the translation.
  • Optional YAML frontmatter preservation — translate only the note body if desired.
  • Shows characters used and remaining balance after each translation.
  • Mobile-compatible — uses Obsidian's native network layer, no Node.js APIs

Requirements

A free l10n.dev account. You receive 30,000 characters free per month after signing up. Get your API key at l10n.dev/ws/keys.

Installation

  1. Open Settings → Community plugins and select Browse.
  2. Search for L10n.dev - AI Translator.
  3. Select Install, then Enable.

Manual installation

  1. Go to the latest release and download manifest.json, main.js, and styles.css.
  2. In your vault, create the folder <YourVault>/.obsidian/plugins/ai-translator/.
  3. Copy the three downloaded files into that folder.
  4. Open Obsidian, go to Settings → Community plugins, and enable L10n.dev - AI Translator.

Setup

  1. Open Settings → L10n.dev - AI Translator.
  2. Paste your l10n.dev API key into the API key field.
  3. Choose your preferred Output behavior and toggle Translate frontmatter as needed.

Usage

With a note open, trigger translation in any of these ways:

  • Command palette — run Translate current note
  • Ribbon — select the globe icon in the left sidebar
  • Context menu — right-click a file in the file explorer or inside the editor and select Translate…

A language picker will open. Type a language name (e.g. "Spanish", "German", "Japanese") and select your target language. The translation will be saved according to your output behavior setting.

Repeat translation to the same language

After your first translation, the last used language is saved automatically. The next time the language picker opens, it pre-selects that language — press Enter to confirm without typing anything.

For even faster repeat translations, use the Translate to last used language command from the command palette. It skips the language picker entirely and translates immediately. Assign a hotkey to it in Settings → Hotkeys for one-keystroke translation.

Output behavior

Setting Result
Create a new note (default) Saves translation as {filename} ({lang-code}).md in the same folder
Replace current note content Overwrites the current note with the translation
Append to current note Appends the translation below a horizontal rule

Privacy

Translation requests are sent to the AI translation API over HTTPS. l10n.dev does not store your content after translation. See the l10n.dev terms of service for details.

No telemetry or analytics are collected by this plugin.

License

MIT