Skip to content

joelhulen/gtd-scripts

 
 

Repository files navigation

gtd-scripts

Scripts for getting things done.

The translate-json node script is simple. It takes an input .json file, a comma separated list of language codes supported by Google Translate, and an optional api key.

Usage with an API Key

node translate-json fixtures/translate-json/en.json fr,et,nl YOUR_GOOGLE_API_KEY

Usage without an API Key

node translate-json fixtures/translate-json/en.json fr,et,nl

This free version will let you batch-translate a file until you start beeing rejected by Google's servers. As this script has caching enabled, it's possible to translate files incrementally. New requests will become available in 2 hours aproximately.

Future Improvements:

  • Specifying output file name and location.

About

Scripts for getting things done.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%