Skip to content

Instantly share code, notes, and snippets.

@polarblau
Created August 27, 2011 12:49
Show Gist options
  • Save polarblau/1175351 to your computer and use it in GitHub Desktop.
Save polarblau/1175351 to your computer and use it in GitHub Desktop.
Cheap translation from (in this case en > fi) from command line
# install @sishen's ruby gem for access to Google's translate API access:
# https://github.com/sishen/rtranslate
$ gem install sishen-rtranslate
# add alias for quick access and reload:
# (adjust/add languages as needed)
$ echo "alias fin='rtranslate -f en -t fi'" >> .profile
$ source .profile
# try it:
$ fin "Translation is easy. Understanding is hard."
Käännös on helppoa. Ymmärtäminen on vaikeaa.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment