ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Google Dictionary

by houcheng ST3 Trending

Sublime google dictionary plugin

Details

Installs

  • Total 4K
  • Win 2K
  • OS X 964
  • Linux 989
Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5
Windows 4 7 12 10 11 4 2 3 5 6 9 3 2 2 1 2 9 5 0 3 0 6 3 8 2 2 3 1 1 4 4 2 2 2 3 4 5 3 3 4 4 0 2 6 2 3
OS X 2 6 5 3 5 1 0 1 0 0 0 0 0 2 1 5 0 0 2 2 1 0 0 1 2 0 1 3 0 0 0 0 0 1 1 2 3 0 2 1 0 1 0 1 4 3
Linux 1 4 1 4 2 1 0 0 0 2 1 2 0 1 0 1 1 1 0 0 2 0 1 3 2 1 0 0 0 0 2 0 1 2 1 3 0 1 0 1 4 0 3 1 2 2

Readme

Source
raw.​githubusercontent.​com

Sublime Google Dictionary plugin

Demo

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 or Cmd+Shift+P in Linux / Windows / OS X
  • Type install, select Package Control: Install Package
  • Select Google dictionary