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

https://github.com/lexoyo/jekyll-translate

Command line tool to translate a wole jekyll site with google translate
https://github.com/lexoyo/jekyll-translate

Last synced: 6 months ago
JSON representation

Command line tool to translate a wole jekyll site with google translate

Awesome Lists containing this project

README

          

Command line tool to translate a wole jekyll site with google translate. This will translate posts or pages, including title meta data and file name.

```sh
$ npm install -g jekyll-translate
$ jekyll-translate _posts/ _fr/ en fr $GOOGLE_TRANSLATE_API_KEY
```
params:

* source folder (_posts/ in the example) with the files in the source language
* destination folder (_fr/ in the examples, need to exist) will contain the translated files
* source language code ('en')
* destination language code ('fr')
* Google translate API key