It is using the same Google translation technology for translating Google Docs. Here is how to translate Google Docs?
Just compose your documents in Google Doc, after finishing the work, click on Tools menu and select translate. From translate menu you can choose any language to translate your document.
You can replace the original document with the translation or make a new translated version. All the formatting and layout is preserved no matter what language it's in. [via]