jekyll-translate

1.0.2 • Public • Published

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.

$ 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

Readme

Keywords

Package Sidebar

Install

npm i jekyll-translate

Weekly Downloads

1

Version

1.0.2

License

GPL

Unpacked Size

6.68 kB

Total Files

5

Last publish

Collaborators

  • lexoyo