README
Snakk
This tool lets your translate YAML files using the Google Translate API from the command line.
Installation
npm i -g snakk
Add your Google Translate API credentials to $HOME/.google/credentials.json
for example.
Then add the following to your .bashrc
or .zshrc
:
export GOOGLE_APPLICATION_CREDENTIALS="$HOME/.google/credentials.json"
Usage
# Help
snakk
# Anatomy
snakk translate [input] [output] [from] [to]
# Example
snakk translate en.yml no.yml en no
MIT licensed. Enjoy!