Skip to content

duckcodecc/duck-translate

Repository files navigation

🦆 Duck Translate

A simple and efficient local selection translation extension, powered by MiniMax AI.

English | 中文

✨ Features

  • Selection Translation - Select text and the translation popup appears instantly
  • YouTube Subtitle Translation - Easily translate YouTube video subtitles
  • Multi-language Support - Supports 16 languages including Chinese, English, Japanese, Korean, French, German, etc.
  • Beautiful Design - Cute and playful UI
  • Local Processing - No data uploaded, privacy protected

🚀 MiniMax Token Plan - Special Offer!

New voice, music, video, and image generation benefits. Invite friends for double rewards!

Friends get 10% OFF exclusive discount + Builder benefits, you earn rebates + community perks!

👉 Join now: https://platform.minimaxi.com/subscribe/token-plan?code=KgHnHo1y49&source=link

📦 Installation

  1. Download this repository
  2. Open Chrome Extensions page (chrome://extensions/)
  3. Enable "Developer Mode"
  4. Click "Load unpacked"
  5. Select this repository folder

🔧 Setup

  1. Click the extension icon to open settings
  2. Enter your MiniMax API Key
  3. Set default source and target languages
  4. Save settings

🚀 Usage

Selection Translation

  1. Select text on any webpage
  2. Translation popup appears automatically
  3. Click buttons to copy or swap translation direction

YouTube Subtitle Translation

  1. Open a YouTube video page
  2. Click the CC button to enable subtitles
  3. Click the 🦆 button in the top-right corner
  4. Select subtitle track and click translate

⚙️ Supported Languages

Language Code
Auto Detect auto
Chinese (Simplified) zh-CN
Chinese (Traditional) zh-TW
English en
Japanese ja
Korean ko
French fr
German de
Spanish es
Russian ru
Arabic ar
Portuguese pt
Italian it
Thai th
Vietnamese vi
Indonesian id
Malay ms

🔒 Privacy

  • All translation requests are sent directly to MiniMax API
  • No user data is collected or stored
  • Local extension, no server-side components

📄 License

This project is open source under GNU General Public License v3.0.

🤝 Contributing

Issues and Pull Requests are welcome!

📧 Contact

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors