Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sys1yagi/sublimebingtranslator
Bing Translator plugin for Sublime Text 2.
https://github.com/sys1yagi/sublimebingtranslator
Last synced: 14 days ago
JSON representation
Bing Translator plugin for Sublime Text 2.
- Host: GitHub
- URL: https://github.com/sys1yagi/sublimebingtranslator
- Owner: sys1yagi
- Created: 2012-12-04T00:28:38.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-02-12T05:55:02.000Z (almost 12 years ago)
- Last Synced: 2024-04-14T14:51:51.523Z (7 months ago)
- Language: Python
- Size: 392 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
SublimeBingTranslator
=====================Bing Translator plugin for Sublime Text 2.
## settings
Preference > Package Settings > SublimeBingTranslator > Settings - Default (or User)
```json
{
//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](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
```plain
*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
```plain
*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](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)
~~ ~~ ~~
...
```