translate - english language/dialect translation filter harness
translate [ options ] [ dialect,... [ file ... ] ]
is a language/dialect translation filter harness. English text is read from each file
, or the
standard input if file
is omitted, and is translated to the specified dialect
on the standard output. The
dialect name is the value that may be assigned to the LC_*
A , separated dialect list may be specified. Each file is translated into each dialect. The dialect
- names all available dialects.
If no arguments are specified then the available dialect names are listed on the standard output and translate
Dialects translated via the WWW may require staging files outside the firewall; this is done by
wwwstage(1), which requires either an interactive password
prompt or a properly initialized $HOME/.wwwstage control file.
lynx(1) is used to access external sites.
WWW translation services may have a daily translation quota. No more submissions are made to a service once the quota
Some of the dialects are for fun filters swiped from the net. The available dialects are:
- Bulgarian ..... tranexp
- Swedish_Chef .. filter
- Czech ......... tranexp
- Welsh ......... tranexp
- Danish ........ tranexp
- German ........ babelfish
- Greek ......... tranexp
- Spanish ....... babelfish
- Finnish ....... tranexp
- French ........ babelfish
- Elmer_Fudd .... filter
- Croatian ...... tranexp
- Hungarian ..... tranexp
- Icelandic ..... tranexp
- Italian ....... babelfish
- Dutch ......... tranexp
- Norwegian ..... tranexp
Pig_Latin ..... filter
- Polish ........ tranexp
- Portuguese .... babelfish
- Romanian ...... tranexp
- Russian ....... tranexp
- Slovenian ..... tranexp
- Serbian ....... tranexp
- Swedish ....... tranexp
Valley_Girl ... filter
- -a, --all
Translate all messages. By default only messages added since the last translation are
- -D, --debug
Enable debug tracing.
- -c, --cached
Update from cached WWW service output files only. These files are named www/*.www
. Only cached files newer than the corresponding message file are checked.
- -f, --force
Force translation even if translated files appear to be up to date.
- -i, --inverse
Only one dialect may be specified; the input file in this dialect is
translated to English. filter dialects do not support inverse translation.
- -l, --local
Place all WWW work files in the directory ./www. This directory is not removed
when translate exits.
- -m, --message|msg
Input file arguments must be specified and the standard input is ignored.
Each file is in gencat(1) message format, and the file
structure is preserved after translation. Only messages added since the last translation are translated; previous
translations are preserved. All messages must be encoded with $quote ".
- -n, --show
Show the underlying the translation commands but do not execute. The temporary work
directory is still created if it doesn't already exist.
- -o, --omit=pattern
Omit translation methods matching the shell pattern.
- -u, --url=url
url is the URL for the directory containing the translate/
dialect/chunk.html files to be translated.
- -v, --verbose
List each file name on the standard output as it is translated.