translate1
Looks up for words in a dictionary
Usage
translate [options]
words
Overview
translate looks up for words in a dictionary and translates them. It can handle multiple dictionaries and charsets. It comes with an english-german dictionary and is able to translate in both directions.
Options
-
-n -
non-interactive (don't prompt if no matches found)
-
-i -
invers lookup (from second to first language)
-
-w -
searches only whole words
-
-l -
languages to translate between
-
-C -
disable (automatic) color highlighting
-
-v -
display version and exit
-
-h, --help -
display help
Examples
- translate -l en-de simplest
Files
translate's preferred language and is stored in /etc/translate.conf. You can store your private configuration file in ~/.translate/translate.conf. If there are no options in the commandline it uses the default values de-en.
It can also create a private dictionary in the ~/.translate/ directory, e.g. ~/.translate/de-en for the default language combination.
Releases
13 releases since Debian 2.2 (Potato); the text changed 3 times.
--help since Debian 12 (Bookworm);
-C since Debian 12 (Bookworm);
-h since Debian 12 (Bookworm);
-w since Debian 3.0 (Woody).