L10n:MozillaTranslator: Difference between revisions

Line 153: Line 153:
===Import===
===Import===
===Export===
===Export===
====XPI Install====
Use this menu item to export your language pack to an installable XPI package. In the Export XPI dialog, set the following fields:
* '''Locale''': your locale, in ab-CD format.
* '''File''': full path to the package you want to create. This setting determines the name and location of the language pack that will be created.
* '''display Name''': the name that will be displayed to the user in the language selection dialog of Mozilla Suite/[[SeaMonkey]]. This name will also be shown as the name of the region pack, if you include it, so you will have to manually edit the region pack's name: after you export the language pack, extract the region pack .jar file from the XPI, extract the file contents.rdf and change the value of the chrome:displayName attribute of the RDF:Description tag to something like "<country-name> Region".
* '''Author''': your name. This will be recorded in the language pack files, and will not be visible to users.
* '''Preview URL''': this value will be recorded in the language pack files, but has no use today.
* '''Select platforms and regions''': check the components you want to include in the package.
Press OK to create the language pack, or Cancel to cancel the operation.
====Jar file====
====Jar file====
This one has a little bug in the generated contents.rdf files, where the version is missing.
This one has a little bug in the generated contents.rdf files, where the version is missing.
242

edits