1.0.2 • Published 5 years ago

jekyll-translate v1.0.2

Weekly downloads
-
License
GPL
Repository
-
Last release
5 years ago

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