translate make get requests and parse the result using hpricot. You can use it inside an other program or directly via command line.
Martin Catty
gem "wrtranslate", "~> 0.2"