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

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.

And then download this file. Extract in a temp folder (maybe on your desktop for example). And read:

cvs-moz.sh: Copy this file to /home/[user]/bin/

cvs-moz-l10n.sh: The same, copy to /home/[user]/bin/

run-mt.sh: Copy to /home/[user]/bin/

MT.sh: Copy the file to /home/[user]/MT/

cvs-moz.cfg: Copy the file to /home/[user]/MT/[product]/[version]/

cvs-moz-l10n.cfg: Copy the file to /home/[user]/MT/[product]/[version]/

Downloading en-US sources

Downloading ab-CD sources

Setting up MT configuration