Translator
Translation plugin (multi-engine, fast) for SublimeText 3 & 4, works without API keys
Details
Installs
- Total 13K
- Win 8K
- Mac 3K
- Linux 2K
Jun 5 | Jun 4 | Jun 3 | Jun 2 | Jun 1 | May 31 | May 30 | May 29 | May 28 | May 27 | May 26 | May 25 | May 24 | May 23 | May 22 | May 21 | May 20 | May 19 | May 18 | May 17 | May 16 | May 15 | May 14 | May 13 | May 12 | May 11 | May 10 | May 9 | May 8 | May 7 | May 6 | May 5 | May 4 | May 3 | May 2 | May 1 | Apr 30 | Apr 29 | Apr 28 | Apr 27 | Apr 26 | Apr 25 | Apr 24 | Apr 23 | Apr 22 | Apr 21 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 1 | 2 | 3 | 4 | 2 | 2 | 2 | 5 | 1 | 4 | 3 | 5 | 5 | 6 | 3 | 6 | 3 | 1 | 1 | 5 | 3 | 2 | 1 | 3 | 1 | 2 | 2 | 2 | 3 | 8 | 0 | 3 | 4 | 7 | 7 | 1 | 3 | 3 | 3 | 3 | 5 | 6 | 5 | 1 | 2 |
Mac | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 1 | 1 | 0 | 0 | 0 | 2 | 2 | 0 | 0 | 1 | 0 | 1 | 2 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 2 | 0 | 0 | 0 | 2 | 1 | 2 | 0 | 0 | 1 | 1 |
Linux | 0 | 0 | 1 | 1 | 0 | 1 | 4 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 2 | 0 | 0 | 1 | 2 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Translator Plugin (multi-engine) for SublimeText 3 & 4
Version: 3.0.0, [Google] & [Bing] translate, supported 133+ languages.
This plugin uses a standard Google/Bing translate page results. It works fast! And as API keys are not required it makes plugin very easy to use. However it isn't 100% officially supported, so if Google/Bing change their URL schema it could break the plugin.
This version includes Google & Bing translate, adding other translators is in development.
🎯 Features:
- 133+ languages supported
- SublimeText 3 & 4 supported
- Autodetect of source language
- Ability to specify source & target languages in settings
- Ability to choose the target language in context menu
- 2 modes: replace selected text with translation, or insert translation after it
🚀 How to Use (easy)
- Select some text in the editor
- Run Translate selected text command. You can do it in 3 ways:
- via binding and using hotkey Ctrl+Alt+G (⌘Cmd+Alt+G in OSX)
- via Tools ➡️ Translator ➡️ Translate seclected text
- via Command Pallet, Ctrl+Shist+P (⌘Cmd+Shift+P in OSX) > Translate selected text
- If you want to change translation to inline mode (when translation replaces original selected text), change results_mode in settings.
- If you want to translate by default to different than English language, change target_language in settings.
🛠️ Commands
- Translate selected text - translates selected text baesd on settings
- Translate selected to… - you choose the target language before translation
- Translator: Print supported languages to console - to see available languages for changing translation settings
Installation (via Package Control)
- Open the Command Palette (Tools ➡️ Command Palette… )
- Search for and choose “Package Control: Install Package” (give it a few seconds to return a list of available packages)
- Search for “Translator” and install.
🧰 Settings
via Preferences ➡️ Package settings ➡️ Translator ➡️ Settings
{
"source_language": "", // Leave empty for Auto detection
"target_language": "en", // ! Must be specified
"results_mode": "insert", // "insert" or "replace"
"engine": "google" // "google", "bing", try 'googlehk' for google.com.hk
}
📦️ Plugin repository at GitHub
Translation plugin (multi-engine, fast) for SublimeText 3 & 4
Made with ❤️ in Ukraine 🇺🇦
Support
- Your issues, feedback and suggestions regarding Translator plugin are welcome, feel free to report here.
- Feel free to fork and submit pull requests.
📄 License:
MIT
Credits:
- Inspired by old Inline Google Translate package (by MTMGroup) that doesn't work since Google changed API.
- Used Bing translate API approach, 谢谢!