https://github.com/iagodahlem/cerebro-translate
Cerebro plugin for translate using Google Translate API.
https://github.com/iagodahlem/cerebro-translate
cerebro cerebro-plugin translate
Last synced: 3 months ago
JSON representation
Cerebro plugin for translate using Google Translate API.
- Host: GitHub
- URL: https://github.com/iagodahlem/cerebro-translate
- Owner: iagodahlem
- Created: 2018-01-17T12:38:20.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-13T19:12:03.000Z (over 5 years ago)
- Last Synced: 2025-03-18T17:58:52.108Z (3 months ago)
- Topics: cerebro, cerebro-plugin, translate
- Language: JavaScript
- Homepage:
- Size: 474 KB
- Stars: 7
- Watchers: 1
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cerebro-translate
[](https://travis-ci.org/iagodahlem/cerebro-translate)
[](https://codecov.io/gh/iagodahlem/cerebro-translate)
[](https://badge.fury.io/js/cerebro-translate)> [Cerebro](http://cerebroapp.com/) plugin for translate using Google Translate API.

## Usage
In Cerebro, type `translate en pt phrase` or `t en pt phrase` and the translation will be shown in the result below. You can specify a source and target language respectively. If you pass only the target, the source will be set to _auto_, if you don't specify any language, the source will be set to _auto_, and target to _en_.
To see available languages type `translate l` or `translate languages`.
## Features
- Translate using any language passing as an argument.
- See all availaible languages.## To Do
- Add the ability to set default source and target languages.
- Add `translate help` to show usage help.
- Add debounce when typing.
- Save history of results to show when type just `translate`.## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -m 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D## License
[MIT License](http://iagodahlem.mit-license.org/) © Iago Dahlem