Sameer Borate's Blog: Google Translation PHP wrapper v1.7
Note: This article was originally published at PHPDeveloper on 25 June 2010.
If the text length is more than 5000 characters it is split into discrete chunks and translated individually, returning the complete translated text at the end. Now you can easily translate whole pages of content.
He includes a code snippet showing how it can be used to translate a whole page easily via a file_get_contents call to pull in the requested page and translate it from French to English.