Google Dictionary
Sublime google dictionary plugin
Details
Installs
- Total 9K
- Win 5K
- Mac 2K
- Linux 2K
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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
Mac | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Sublime Google Dictionary plugin
Introduction
With google dictionary plugin, user can translate selected text into his lanauge by Google's translation service. First, user select the word or phrase needed to translte. Then, he press the google dictionary hot key and the translated text will be shown.
This plug-in also provides translate mode, when enter this mode by hot key every time when user select a phrase or word, the selected text would be translated.
Add vocabulary feature that auto record new word into vocabulary.txt, you may find this file under menu “preference/package settings/google dictionay” By default, this feature is off.
Installation and usage
Install and configure this plugin:
- Install “google dictionary” by package control.
- Set the “lang” in menu: /Preference/Packages/Google dictionary/Settings User.
- Define hot-key for googledict and googledictmode command in menu: Preference/Key-Binding User
- Restart sublime.
To use the goodl dictionary:
- Select a phrase or word, then press hot-key to translate
- Or enter translate mode, then further select will be translated.
Setting
Default Setting
{
// trasnlate target language
"lang" : "zh-TW",
}
Supported lang include:
- Arabic – ar
- Bulgarian – bg
- Chinese (Simplified) – zh-CN
- Chinese (Traditional) – zh-TW (only available as a destination language)
- Croatian – hr
- Czech – cs
- Danish – da
- Dutch – nl
- English – en
- Finnish – fi
- French – fr
- German – de
- Greek – el
- Hebrew – iw
- Hindi – hi
- Italian – it
- Japanese – ja
- Korean – ko
- Norwegian – no
- Polish – pl
- Portuguese – pt
- Romanian – ro
- Russian – ru
- Spanish – es
- Swedish – sv
Hot key setting
{ "command": "googledict", "keys": ["ctrl+t"] },
{ "command": "googledictmode", "keys": ["ctrl+alt+t"] }
Usage of package control
Via the Sublime Package Manager:
Ctrl+Shift+P
orCmd+Shift+P
in Linux / Windows / OS X- Type
install
, selectPackage Control: Install Package
- Select
Google dictionary