Multi-Source Translator is a Chrome extension that provides quick and easy translations from multiple sources. It supports translation between English, Chinese (Simplified), and Japanese, with phonetic support for Japanese.
- Translate selected text using Google Translate, DeepL, and MyMemory
- Support for English, Chinese (Simplified), and Japanese
- Phonetic support (katakana conversion) for Japanese text
- Text-to-speech functionality for both original and translated text
- Quick translation icon that appears near selected text
- Context menu integration for easy access
- Clone this repository or download the source code
- Open Chrome and navigate to
chrome://extensions
- Enable "Developer mode" in the top right corner
- Click "Load unpacked" and select the directory containing the extension files
- Select text on any webpage
- Click the translation icon that appears, or use the context menu option
- View translations from multiple sources in a tooltip
- Use the language selector to change the target language
- Click the speaker icon to hear the text read aloud
API keys and other configuration settings can be found in config.js
. Make sure to replace the placeholder API keys with your own before using the extension.
manifest.json
: Extension configurationbackground.js
: Background script for handling context menu and message passingcontent.js
: Content script for UI and translation logicconfig.js
: Configuration file for API keys and settingsstyles.css
: Stylesheet for the translation tooltippopup.html
: Popup UI for the extension
- Google Translate API (no key required)
- DeepL API (free and pro versions supported)
- MyMemory Translation API
- Goo Labs API (for Japanese katakana conversion)
This project is licensed under the MIT License - see the LICENSE file for details.