2015-09-22 02:36:54 +08:00
|
|
|
|
|
|
|
## Translate
|
|
|
|
|
2015-10-04 15:42:54 +08:00
|
|
|
A package for N1 that translates draft text into other languages using the Yandex Translation API.
|
2015-09-22 02:36:54 +08:00
|
|
|
|
2015-12-01 10:36:52 +08:00
|
|
|
<img src="https://raw.githubusercontent.com/nylas/N1/master/examples/N1-Composer-Translate/examples-screencap-translate.png"/>
|
|
|
|
|
2015-11-18 07:47:51 +08:00
|
|
|
#### Install this plugin
|
2015-10-04 15:42:54 +08:00
|
|
|
|
|
|
|
1. Download and run N1
|
|
|
|
|
2015-12-02 07:59:00 +08:00
|
|
|
2. From the menu, select `Developer > Install a Plugin Manually...`
|
2015-10-04 15:42:54 +08:00
|
|
|
The dialog will default to this examples directory. Just choose the
|
2015-12-01 10:33:03 +08:00
|
|
|
`N1-Composer-Translate` folder to install it!
|
2015-10-04 15:42:54 +08:00
|
|
|
|
|
|
|
> When you install packages, they're moved to `~/.nylas/packages`,
|
|
|
|
> and N1 runs `apm install` on the command line to fetch dependencies
|
|
|
|
> listed in the package's `package.json`
|
|
|
|
|
2015-11-18 07:47:51 +08:00
|
|
|
#### Build documentation
|
2015-09-22 02:36:54 +08:00
|
|
|
|
|
|
|
```
|
|
|
|
cjsx-transform lib/main.cjsx > docs/main.coffee
|
|
|
|
docco docs/main.coffee
|
|
|
|
rm docs/main.coffee
|
2015-10-04 15:42:54 +08:00
|
|
|
```
|