translate - translates a string via Google Translate
translate B<-f> I<country-code> B<-t> I<country-code> 'string'
Translate will take a word or a string and translate to another language
using Google Translate.
- -f
-
Language that we should translate from. You can use the following:
en (English), fr (French), de (German), it (Italien), es (Spanish), pt (Portugeese).
- -t
-
Language we should translate the word/string to. Same language codes as above.
- -h
-
Displays the help screen.
January 2018:
o Switch from Babelfish to Google Translate
March 2003:
o Add MAN page
o Fix new babelfish semantics
June 2002:
o Initial release
Sometimes a translated string coming back from Google may contain special characters
(e.g. accents etc on fx. french words) which causes the screen to garble up.
Written by Michael Landin <mich@freebsdcluster.org>