No description
Find a file
2026-06-15 21:01:17 +05:00
.github/workflows Add artifact attestations to publish workflow, update README, and remove manual installation instructions (#5) 2026-05-17 23:55:09 +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 add AI glossary generation feature and update documentation (#6) 2026-06-15 20:37:53 +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 version to 1.1.1 and set correct minimum API version in manifest files (#7) 2026-06-15 21:01:17 +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 version to 1.1.1 and set correct minimum API version in manifest files (#7) 2026-06-15 21:01:17 +05:00
package-lock.json Update version to 1.1.1 and set correct minimum API version in manifest files (#7) 2026-06-15 21:01:17 +05:00
package.json Update version to 1.1.1 and set correct minimum API version in manifest files (#7) 2026-06-15 21:01:17 +05:00
README.md add AI glossary generation feature and update documentation (#6) 2026-06-15 20:37:53 +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 version to 1.1.1 and set correct minimum API version in manifest files (#7) 2026-06-15 21:01:17 +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. Generates and save AI glossaries for consistent terminology across translations.
  • 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 10,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 ot note ai translator.
  3. Select Install, then Enable.

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

Translation Glossary

A translation glossary maps specific source-language terms to approved target-language equivalents, ensuring the AI uses your exact terminology instead of valid-but-unintended synonyms. Glossaries are especially valuable for brand names, legal terms, clinical vocabulary, and product-specific concepts.

AI Glossary Generation

When Generate & save glossary is enabled (config) it automatically builds a glossary from the source and translated target content, then save it as the active glossary for this source/target language pair. Once saved, the glossary is applied automatically on all future translations for the same language pair.

Note: Glossary terms consume characters from your balance during translation. The character cost per translation is the combined length of all source terms, target terms, and context hints.

Manage your saved glossaries at l10n.dev/ws/translation-glossary.

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