translate(1)

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.

  1. 2.2
  2. 3.0–5.0
  3. 6.0–11
  4. 12–13

--help since Debian 12 (Bookworm); -C since Debian 12 (Bookworm); -h since Debian 12 (Bookworm); -w since Debian 3.0 (Woody).

Author

Jochem Huhmann <[email protected]> initially wrote translate. The Debian Project took over maintenance of translate since version 0.6. It is currently maintained by Axel Beckert <[email protected]> on https://salsa.debian.org/debian/translate.

This manual page was written for the Debian GNU/Linux system (but may be used by others).

From translate 1.1.3 in Debian 13 (Trixie). Parsed by carta from the page's man source.