pere-trans4docbook(1)

PERE-TRANS4DOCBOOK(1) User Contributed Perl Documentation PERE-TRANS4DOCBOOK(1)

NAME

pere-trans4docbook - translate "DocBook" documents

SYNOPSIS

pere-trans4docbook [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 "DocBook" (*.xml) documents.

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

'/etc' - System configuration
'~' - User's home
'.' - Current working directory
2006-05-20 perl v5.12.2