Created
August 27, 2011 12:49
-
-
Save polarblau/1175351 to your computer and use it in GitHub Desktop.
Cheap translation from (in this case en > fi) from command line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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