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

Bing Translator

by sys1yagi ST2

Bing Translator plugin for Sublime Text 2.

Details

  • 2013.02.12.05.55.01
  • github.​com
  • github.​com
  • 12 years ago
  • 18 minutes ago
  • 12 years ago

Installs

  • Total 486
  • Win 334
  • Mac 92
  • Linux 60
Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8
Windows 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 0 0 0
Mac 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 0 0 0
Linux 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 0 0 0

Readme

Source
raw.​githubusercontent.​com

SublimeBingTranslator

Bing Translator plugin for Sublime Text 2.

settings

Preference > Package Settings > SublimeBingTranslator > Settings - Default (or User)

{
    //Translator Language Codes
    //http://msdn.microsoft.com/en-us/library/hh456380.aspx
    "from" : "en",
    "to" : "ja"
}

edit to “from” or “to”

Below is a link to the language code.
http://msdn.microsoft.com/en-us/library/hh456380.aspx

translate selection

command+shift+m

Translate selection and display the results to a new file. (if already opened result view, adds the results.)

ex. settings: en -> it

Error: language “plain” is not supported
*translate*
------------------------
this is beutiful code!! 
- - - - - - - - - - - - 
Questo è il codice beutiful!! 
------------------------

translate selection(reverse)

command+shift+alt+m

Default Settings translate “From” -> “To”. this command translate “To” -> “From” .

ex. settings: en -> it

Error: language “plain” is not supported
*translate*
------------------------
Questo è il codice beutiful!!  
- - - - - - - - - - - - 
This is the code beutiful!!  
------------------------

If you use frequently…

Bing translator can translate characters has limited.
if you use frequently, recommend publishing API keys.

Windows Azure Marketplace -Registering your application-
https://datamarket.azure.com/developer/applications/register

after published API keys. edit “SublimeBingTranslator.py”

class BingTranslatorSettings:
     ~~ ~~ ~~
    client_id = (new client id)
    client_secret = (new client secret)
     ~~ ~~ ~~
     ...