This class can translate text from one language to another using the Altavista Babelfish Web service.
It takes a given text, the original idiom and the translation idiom and connects to the Babelfish site using the PHP Curl extension to retrieve the translated text.
The class may also request to translate a page of a given URL.