An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

        

# cerebro-translate

[![Build Status](https://travis-ci.org/iagodahlem/cerebro-translate.svg?branch=master)](https://travis-ci.org/iagodahlem/cerebro-translate)
[![codecov](https://codecov.io/gh/iagodahlem/cerebro-translate/branch/master/graph/badge.svg)](https://codecov.io/gh/iagodahlem/cerebro-translate)
[![npm version](https://badge.fury.io/js/cerebro-translate.svg)](https://badge.fury.io/js/cerebro-translate)

> [Cerebro](http://cerebroapp.com/) plugin for translate using Google Translate API.

![Cerebro Translate Plugin Screenshot](screenshot.gif)

## 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