Language translation from the command line or clipboard

Web-based automatic translators such as are great for getting the gist of what a document is saying, but it can be cumbersome to have to open a new tab in your browser, load that URL, and copy and paste the text you want to translate into your browser. The twandgtw project allows you to get language translations directly from the Linux command line using either local dictionaries or online services.

Binary packages are available for Fedora 7 and 8. Other distributions have to follow the normal configure; make; sudo make install procedure to install from source.

As the project name suggests, twandgtw is actually two programs. tw is a non-graphical command-line word translator, while gtw has a graphical interface. To use tw to translate a word from English into Spanish, for example, specify a dictionary name and a word: