Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

DualTran

Seigwen LeeSeigwen Lee

Translate selections and whole notes with Google or your own AI model (20+ BYOK providers).

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

Translate selections and whole notes inside Obsidian with Google or your own AI model (BYOK, 20+ providers) — powered by @dualtran/core, the engine extracted from the DualTran browser extension.

Commands

  • Translate selection (replace) — replaces the selection with the translation.
  • Translate selection (insert below) — keeps the original and inserts the translation right below it.
  • Translate note to a new file — translates the whole note into a new file next to the original.

Development

node scripts/sync-core.mjs   # builds + vendors @dualtran/core (CORE_REPO env to override)
npm install                  # installs devDeps + the vendored tarball
npm test                     # unit + integration suites
npm run build                # produces main.js (production, minified)
npm run verify               # test + build + dist guards (manifest/versions/size/node-refs)

npm run dev builds with inline source maps and watches (main.js).

Architecture

  • src/bridge.ts — host-agnostic translation logic (Google batch via core.translateGoogle, AI via core.streamChat); fully dependency-injected.
  • src/coreAdapter.ts — the only module that imports the vendored core.
  • src/editorOps.ts — pure editor-insertion helpers (Obsidian Editor-shaped).
  • src/settings.ts — settings shape, defaults and sanitization.
  • src/main.ts — plugin wiring: commands, settings tab, requestUrl-based fetch adapter (no CORS on desktop or mobile).

Releasing

  1. Bump manifest.json + package.json + versions.json (minAppVersion map).
  2. npm run verify green.
  3. Commit, tag without a v prefix matching the manifest version exactly, push the tag, then attach main.js, manifest.json and styles.css (if any) to the GitHub release.
  4. Submit via community.obsidian.md (see docs/SUBMISSION.md in the repo — added with the submission materials).

License

MIT — the bundled @dualtran/core portion is MPL-2.0.

HealthExcellent
ReviewSatisfactory
About
Translate selections or whole notes using Google Translate or your own AI model (BYOK) with support for 20+ providers. Replace selections, insert translations below originals, or create a translated copy of the entire note next to the source.
LanguagesAI
Details
Current version
0.1.1
Last updated
8 hours ago
Created
4 days ago
Updates
2 releases
Compatible with
Obsidian 1.4.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
Seigwen LeeSeigwen Leeseigwen
GitHubseigwen
  1. Community
  2. Plugins
  3. Languages
  4. DualTran

Related plugins

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.

Copilot

Run AI agents such as Claude Code, Codex, and OpenCode inside your vault. Turn your second brain into a smart assistant that gets knowledge work done.

Smart Connections

Find related notes and excerpts while writing. Your AI link building copilot displays relevant content in graph + list view. A local embedding model powers semantic search. Zero setup. No API key.

Fast Note Sync

Real-time sync of your vaults across server, mobile, and web; shareable with anyone; supports REST and MCP integrations to build your personal AI knowledge base.

ChatGPT MD

A seamless integration of ChatGPT, OpenRouter.ai and local LLMs via Ollama into your notes.

Karpathy LLM Wiki

Karpathy's LLM Wiki implementation plugin for Obsidian - turns notes and PDFs into a linked, LLM-powered knowledge base with entity pages, concept pages, graph-powered Q&A, and local-first privacy.

Simplified Chinese Word Splitting

Adds Simplified Chinese word splitting support for the editor and Vim mode.

Agent Client

Chat with Claude Code, Codex, Gemini CLI, and more via the Agent Client Protocol — right from your vault.

Text Generator

Generate text content using GPT-3 (OpenAI).

Gemini Scribe

Allows you to interact with Gemini and use your notes as context.