pere-trans(1)
| PERE-TRANS(1) | User Contributed Perl Documentation | PERE-TRANS(1) |
NAME
pere-trans - translate some types of documents
SYNOPSIS
pere-trans [options ...]
Options:
-help brief help message
-man full documentation
-txt source text
-res translated text
-pfx translator database location
-enc charset encoding
-iln input language
-oln output language
-thm thematic dictionary
-cas case sensitive
-lin paragraph as single line
-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"
- -lin
- Means paragraph as single line only for "Plain Text" documents
- -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 some types of documents:
- *.rtf
- Rich Text Format File
- *.xml
- DocBook Document
- *.xml
- Microsoft Excel 2003 XML
- *.xml
- Microsoft Word 2003 XML
- *.xhtml, *.xht
- Extensible HyperText Markup Language File
- *.html, *.htm
- Hypertext Markup Language
- *.txt, *.text, *.asc
- Text File
- *.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-trans.config" file at directories:
- '/etc' - System configuration
- '~' - User's home
- '.' - Current working directory
| 2006-05-20 | perl v5.12.2 |
