Using Mozilla Translator

From MozillaWiki
Jump to navigation Jump to search

Setting up the enviroment

Install Java

You need to download Java (from here) or install it from your repositories if you are using Linux:

sudo apt-get install java

(for Ubuntu or Debian OS, may vary for other systems)

Directory structure

Create a directory structure like this:

/home/[user]/bin/
                 |cvs-moz.sh (file, see bellow)
                 |cvs-moz-l10n.sh (file, see bellow)
                 |run-mt.sh (file, see bellow)
            /MT/
                |mt.jar (file, see bellow)
                |MT.sh (file, see bellow)
                |[product]/[version]/
                                    |cvs-moz.cfg (file, see bellow)
                                    |cvs-moz-l10n.cfg (file, see bellow)

Files and scripts

cvs-moz.sh

cvs-moz-l10n.sh

run-mt.sh

mt.jar: Download MT (not the sources!) from here. Extract MT5xx.jar to your /home/[user]/MT/ directory. Then, rename it from MT5xx.jar to MT.jar.

MT.sh:

cvs-moz.cfg

cvs-moz-l10n.cfg

Downloading en-US sources

Downloading ab-CD sources

Setting up MT configuration