pere-trans4rtf - translate C<Rich Text Format> documents


NAME

pere-trans4rtf - translate Rich Text Format documents


SYNOPSIS

pere-trans4rtf [options ...]

        Options:
                -help     brief help message
                -man      full documentation
                -txt      source text
                -res      translated text
                -pfx      translator database location
                -cas      case sensitive
                -enc      charset encoding
                -iln      input language
                -oln      output language
                -thm      thematic dictionary
                -mem      cache mem size
                -cfg      configuration file


OPTIONS

-help

Print a brief help message and exits.

-man

Prints the manual page and exits.

-txt

Filename for source document

-res

Filename for translated document

-pfx

Directory for translator database

-cas

Use case sensitive mode

-enc

Optional charset encoding for input document. By default used UTF-8

-iln

Code for input language

Example:

uk-ua for Ukrainian
ru-ru for Russian
en-us for American English

It is used together with options oln and thm if option pfx is not set. As a result value of option pfx undertakes from a configuration file.

-oln

Code for output language

Example:

uk-ua for Ukrainian
ru-ru for Russian
en-us for American English

It is used together with options iln and thm if option pfx is not set. As a result value of option pfx undertakes from a configuration file.

-thm

Name of the thematic dictionary

It is used together with options iln and oln if option pfx is not set. As a result value of option pfx undertakes from a configuration file.

-mem

Set the size of memory cache in megabytes, otherwise are used system defaults.

-cfg

Enables to specify other file of a configuration


DESCRIPTION

This script used for translate Rich Text Format (*.rtf) documents:

Above options may be found in pere-trans.config file at directories:

'/etc' - System configuration
'~' - User's home
'.' - Current working directory