Using Mozilla Translator: Difference between revisions
Willyaranda (talk | contribs) |
Willyaranda (talk | contribs) |
||
| Line 34: | Line 34: | ||
'''mt.jar''': Download MT (not the sources!) from [http://sourceforge.net/project/showfiles.php?group_id=18842 here]. Extract MT5xx.jar to your ''/home/[user]/MT/'' directory. Then, rename it from '''MT5xx.jar''' to ''' | '''mt.jar''': Download MT (not the sources!) from [http://sourceforge.net/project/showfiles.php?group_id=18842 here]. Extract MT5xx.jar to your ''/home/[user]/MT/'' directory. Then, rename it from '''MT5xx.jar''' to '''mt.jar'''. | ||
And '''then''' download [http://bububu/ this file]. Extract in a temp folder (maybe on your desktop for example). And read: | And '''then''' download [http://bububu/ this file]. Extract in a temp folder (maybe on your desktop for example). And read: | ||
Revision as of 20:13, 6 July 2008
Glossary
[user] → is your actual user on Linux: guillermo, father, matt...
[product] → the name of the product you are going to translate: firefox, thunderbird, sunbird, flock, songbird...
[version] → actual version: trunk, 3.0.x, 1.0, 0.x ...
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]/
Editing some files
You need to edit two files to get things working. They are used to download the exact version of product you want:
cvs-moz.cfg
You will find this file in /home/[user]/MT/[product]/[version]/