No description
Find a file
2026-05-12 23:34:29 +05:00
.github/workflows Implement AI translation (MVP functionality) (#1) 2026-04-30 18:55:49 +05:00
docs Removed all console.debug and console.error calls that caused errors on mobile devices. (#2) 2026-05-02 16:01:03 +05:00
src Update plugin ID and version; enhance translation settings and documentation (#3) 2026-05-12 22:40:29 +05:00
.editorconfig sample 2026-04-27 18:27:47 +05:00
.gitignore Implement AI translation (MVP functionality) (#1) 2026-04-30 18:55:49 +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 Update plugin ID to 'note-ai-translator' and increment version to 1.0.3; update installation instructions and changelog (#4) 2026-05-12 23:34:29 +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 plugin ID to 'note-ai-translator' and increment version to 1.0.3; update installation instructions and changelog (#4) 2026-05-12 23:34:29 +05:00
package-lock.json Update plugin ID to 'note-ai-translator' and increment version to 1.0.3; update installation instructions and changelog (#4) 2026-05-12 23:34:29 +05:00
package.json Update plugin ID to 'note-ai-translator' and increment version to 1.0.3; update installation instructions and changelog (#4) 2026-05-12 23:34:29 +05:00
README.md Update plugin ID to 'note-ai-translator' and increment version to 1.0.3; update installation instructions and changelog (#4) 2026-05-12 23:34:29 +05:00
styles.css Implement AI translation (MVP functionality) (#1) 2026-04-30 18:55:49 +05:00
TESTING.md Update plugin ID to 'note-ai-translator' and increment version to 1.0.3; update installation instructions and changelog (#4) 2026-05-12 23:34:29 +05:00
tsconfig.json Implement AI translation (MVP functionality) (#1) 2026-04-30 18:55:49 +05:00
version-bump.mjs sample 2026-04-27 18:27:47 +05:00
versions.json Update plugin ID to 'note-ai-translator' and increment version to 1.0.3; update installation instructions and changelog (#4) 2026-05-12 23:34:29 +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.

L10n.dev - AI Translator for Obsidian

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/note-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