You should check **apertium**, I have used it to translate from English to
Spanish and it worked really great.
Problem is apertium supports only a few languages so far, but they are
planning to add more in the future. Anyway the program works great and is
quite powerful.
sudo apt-get install apertium apertium-tolk apertium-en-es
**aptitude search apertium** will show you the translation packages available
gnu@debian:~$ aptitude search apertium
p apertium -
Shallow-transfer machine translation engine
p apertium-dbus -
A D-Bus service for the Apertium machine translation system
p apertium-en-ca -
Apertium linguistic data to translate between English and Catalan
p apertium-en-es -
Apertium linguistic data to translate between English and Spanish
p apertium-eo-ca -
Apertium linguistic data to translate between Esperanto and Catalan
p apertium-eo-es -
Apertium linguistic data to translate between Esperanto and Spanish
p apertium-es-ca -
Apertium linguistic data to translate between Spanish and Catalan
p apertium-es-gl -
Apertium linguistic data to translate between Spanish and Galician
p apertium-es-pt -
Apertium linguistic data to translate between Spanish and Portuguese
p apertium-es-ro -
Apertium linguistic data to translate between Spanish and Romanian
p apertium-eu-es -
Apertium linguistic data to translate between Basque and Spanish
p apertium-fr-ca -
Apertium linguistic data to translate between French and Catalan
p apertium-fr-es -
Apertium linguistic data to translate between French and Spanish
p apertium-oc-ca -
Apertium linguistic data to translate between Occitan and Catalan
p apertium-oc-es -
Apertium linguistic data to translate between Occitan and Spanish
v apertium-pcre2 -
p apertium-pt-ca -
Apertium linguistic data to translate between Portuguese and Catalan
p apertium-pt-gl -
Apertium linguistic data to translate between Portuguese and Galician
p apertium-tolk -
Graphical user interface for Apertium
v libapertium3 -
p libapertium3-3.1-0 -
Shared library for Apertium
p libapertium3-3.1-0-dev -
Development library for Apertium
v libapertium3-dev -