Bing Translator plugin for Sublime Text 2.
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
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
*translate*
------------------------
this is beutiful code!!
- - - - - - - - - - - -
Questo è il codice beutiful!!
------------------------
command+shift+alt+m
Default Settings translate "From" -> "To". this command translate "To" -> "From" .
ex. settings: en -> it
*translate*
------------------------
Questo è il codice beutiful!!
- - - - - - - - - - - -
This is the code beutiful!!
------------------------
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)
~~ ~~ ~~
...