pere-trans4ooo(1)

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

NAME

pere-trans4ooo - translate "OpenOffice.org" documents

SYNOPSIS

pere-trans4ooo [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 "OpenOffice.org" documents:

*.odg
OpenOffice.org (Ver 2) OpenDocument Graphics Document
*.otg
OpenOffice.org (Ver 2) OpenDocument Graphics Document Template
*.odp
OpenOffice.org (Ver 2) OpenDocument Presentation
*.otp
OpenOffice.org (Ver 2) OpenDocument Presentation Template
*.ods
OpenOffice.org (Ver 2) OpenDocument Spreadsheet
*.ots
OpenOffice.org (Ver 2) OpenDocument Spreadsheet Template
*.odt
OpenOffice.org (Ver 2) OpenDocument Text Document
*.odm
OpenOffice.org (Ver 2) OpenDocument Global Text Document
*.ott
OpenOffice.org (Ver 2) OpenDocument Text Document Template
*.oth
OpenOffice.org (Ver 2) OpenDocument HTML Text Template
*.sxc
OpenOffice.org (Ver 1) Spreadsheet
*.stc
OpenOffice.org (Ver 1) Spreadsheet Template
*.sxd
OpenOffice.org (Ver 1) Draw File
*.std
OpenOffice.org (Ver 1) Drawing Template
*.sxi
OpenOffice.org (Ver 1) Presentation File
*.sti
OpenOffice.org (Ver 1) Presentation Template
*.sxw
OpenOffice.org (Ver 1) Text Document
*.sxg
OpenOffice.org (Ver 1) Master Document
*.stw
OpenOffice.org (Ver 1) Text Document Template

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

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