Contents  History  Source  Email Feedback

mozrdfcreate

Initialises base RDF files from an unpacked Mozilla en-US XPI and migrates them
to be used in a translated XPI.

Prerequisites

sed

Usage

mozrdfcreate /from/ /to/ /to locale/ /to descriptive locale/ [author] [preview URL]

    eg. mozrdfcreate templates af af-ZA "Afrikaans (South Africa)"
        mozrdfcreate templates ven ven-ZA Venda Translate.org.za

where:
from - is a directory containing a moz2po unpacked en-US XPI file
to - is the directory which contains the po files ready to be packed into a
     language pack XPI
to locale - is the destination locale eg st-ZA
to descriptive locale - is a human readable locale eg "Southern Sotho"
author - the creator of the XPI
preview URL - a URL that will contain a preview of the translated product


Operation

mozrdfcreate migrates .rdf files from the "from" directory to the "to"
directory and uses sed to replace existing entries in the en-US .rdf files
with the data supplied on the command line.

It reports any .rdf files that were not changed.  These can safely be deleted.

Bugs

None known