Apertium offers both text translation, along with the translation of documents and surf and translate. You can also do online dictionary lookup and test out the bleeding edge versions of our translators.
You can see their implementation from their webpage at : http://www.apertium.org/