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-10-04 15:42:54 +08:00
|
|
|
#### Install this plugin:
|
|
|
|
|
|
|
|
1. Download and run N1
|
|
|
|
|
|
|
|
2. From the menu, select `Developer > Install a Package Manually...`
|
|
|
|
The dialog will default to this examples directory. Just choose the
|
|
|
|
package to install it!
|
|
|
|
|
|
|
|
> 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`
|
|
|
|
|
|
|
|
#### 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
|
|
|
```
|