|
Project Information
|
Tranny uses Google Translator to provide a Linux command line translation utility. It is a Unix-style text filter for use in a shell or shell script. Source text can be from the command line, STDIN or a file. By default, source text languages is automatically detected and translated to English. Source and output languages can be specified. Translated text is outputted to STDOUT. It is written in Perl and uses the JSON module from CPAN. The easiest way to install is to first install CPAN, if it is not already on your system by default. Then, install the JSON module with "sudo cpan JSON". Place the tranny script in a directory in your PATH, such as "/usr/local/bin/". |