L10n:MozillaTranslator: Difference between revisions

m
Line 7: Line 7:
==How to Use==
==How to Use==
===Creating a new Product===
===Creating a new Product===
The first thing you need to do is to create a new product. First, obtain the .jar files that include the en-US language pack. there are several ways to do that:
The first thing you need to do is to create a new product. First, obtain the .jar files that include the en-US language pack. There are several ways to do that:
# If you have an installed copy of the program you want to translate, open the installation directory of the program. under a folder named 'chrome' there, you will find a file named en-US.jar (or something similar), and possibly also en-win.jar, en-mac.jar, en-unix.jar and US.jar.
# If you have an installed copy of the program you want to translate, open the installation directory of the program. Under a folder named 'chrome' there, you will find a file named en-US.jar (or something similar), and possibly also en-win.jar, en-mac.jar, en-unix.jar and US.jar.
# extract the language pack (normally called langenus.xpi) from the installer, as described [[L10n:Localizing Overview|here]]. then use a Zip utility to open it and extract the files mentioned in (1) from it. similarly, extract the region pack (exists in Mozilla Suite) named regus.xpi and extract US.jar from it.
# Extract the language pack (normally called langenus.xpi) from the installer, as described [[L10n:Localizing Overview|here]]. Then use a Zip utility to open it and extract the files mentioned in (1) from it. Similarly, extract the region pack (exists in Mozilla Suite) named regus.xpi and extract US.jar from it.


From the File menu select Manage Products, and in the window that opens, press the Add button.
From the File menu select Manage Products, and in the window that opens, press the Add button.
Line 23: Line 23:
Click OK to close the window. You should see the new product in the previous window. Click Exit to close it.
Click OK to close the window. You should see the new product in the previous window. Click Exit to close it.


Now, from the File menu select Update Product. From the new window, select the product you have just created, and click OK. You will see the Show which columns window. it is best to select Key, Text: Original, Text: Translated, and Keep original. Enter your locale code at the bottom, and click OK. you will see the complete list of strings that need to be translated.
Now, from the File menu select Update Product. From the new window, select the product you have just created, and click OK. You will see the Show which columns window. It is best to select Key, Text: Original, Text: Translated, and Keep original. Enter your locale code at the bottom, and click OK. You will see the complete list of strings that need to be translated.
 
===Importing Existing Translation===
===Importing Existing Translation===
If you have access to a translation of an earlier version of the program than the one you are working on, you can import it and use the parts of it that are still relevant. Follow these steps:
If you have access to a translation of an earlier version of the program than the one you are working on, you can import it and use the parts of it that are still relevant. Follow these steps:
242

edits