Annotation of l10nzilla/java/l10nZilla.properties, revision 1.2

1.1       dewi        1: # Properties file to configure l10nZilla.
                      2: #
                      3: 
                      4: #-------------------------------------------------------------------------------
                      5: # l10nZilla can do one of three command line driven operations.
                      6: #
                      7: #   - createDB
                      8: #      Given the URL to a L10nZilla database, will create the tables required
                      9: #      by L10NZilla
                     10: #
                     11: #   - showArchives
                     12: #      Lists the names of all the archives presently in the L10NZilla database
                     13: #
                     14: #   - archive
                     15: #      Archive source or translated Mozilla texts stored into the mySQL database.
                     16: #      Selection of the source sourceWorkingDirectory+filename argument
                     17: #      determines how l10nZilla interprets the source text as format.
                     18: #      i.e as a Mozilla jar file or po file etc.
                     19: #
                     20: #      Usage:
                     21: #       archive [lang_code] [filename] [archive name]
                     22: #       (with values given in this properties file for  :
                     23: #           sourceWorkingDirectory
                     24: #           dictionaryDBAddress
                     25: #
                     26: #        e.g. > archive en en-US.jar M13
                     27: #             > archive cy cy-GB.jar M13
                     28: #             > archive en en-win.jar M13win
                     29: #             > archive cy cy-win.jar M13win
                     30: #
                     31: #           where in the l10nZilla.properties:
                     32: #
                     33: #           sourceWorkingDirectory=C:/Program Files/mozilla.org/Mozilla13b/chrome
                     34: #           dictionaryDBAddress=jdbc:mysql://localhost/L10NZillaDatabase?useUnicode=true&characterEncoding=UTF-8&user=admin
                     35: #
                     36: #
                     37: #
                     38: #   - translate
                     39: #      Translate a given source and generate from texts previously archived in
                     40: #      the mySQL database a translated destination.
                     41: #      The selection of sourceWorkingDirectory+filename determines how l10nZilla
                     42: #      interprets the source text format i.e. as a Mozilla jar file
                     43: #      The selection of destinationWorkingDirectory+filename determines how
                     44: #      l10nZilla writes the destination text i.e. to a mozilla jar file format,
                     45: #      po format, HTML etc.
                     46: #      N.B. using this command, l10nZilla is capable of transforming between
                     47: #           various localisation text file formats for working on translating
                     48: #           Mozilla in various localisation tools.
                     49: #
                     50: #      During the first translation attempt, l10nzilla will look up if a translation
                     51: #      with in the preferred dictionary archive exists. You can enter any archive name
                     52: #      here.
                     53: #
                     54: #      Usage:
                     55: #       translate [source filename] [destination filename] [preferred dictionary archive] [new archive name/None]
                     56: #       (with values given in this properties file for :
                     57: #           sourceWorkingDirectory
                     58: #           sourceLanguageCode
                     59: #           destinationWorkingDirectory
                     60: #           destinationLanguageCode
                     61: #           dictionaryDBAddress
                     62: #           htmlTranslationResultsDirectory
                     63: #           meta data fields for inclusion in contents.rdf files.
                     64: #
1.2     ! dewi       65: #        e.g. > translate en-US.jar cy-GB.jar M13 M14
        !            66: #             > translate en-win.jar cy-win.jar M13win None
1.1       dewi       67: #
                     68: #           where in the l10nZilla.properties:
                     69: #
                     70: #           sourceWorkingDirectory=C:/Program Files/mozilla.org/Mozilla13/chrome
                     71: #           sourceLanguageCode=en
                     72: #           destinationWorkingDirectory=C:/MozillaPackage/Mozilla13/bin/chrome/
                     73: #           destinationLanguageCode=cy
                     74: #           dictionaryDBAddress=jdbc:mysql://localhost/L10NZillaDatabase?useUnicode=true&characterEncoding=UTF-8&user=admin
                     75: #           htmlTranslationResultsDirectory=C:/MozillaPackage/Mozilla13/log
                     76: #
                     77: #           author = Rhoslyn Prys, Dewi Jones
                     78: #           localeName=cy-GB
                     79: #           previewURL=
                     80: #           version=1.3
                     81: #           displayName=Cymraeg
                     82: #
                     83: #        To do a simple transformation of localisation file format without
                     84: #        involving any auto translation processing, simply give the sourceLanguageCode
                     85: #        and destinationLanguageCode the same values.
                     86: #
                     87: #
                     88: #
1.2     ! dewi       89: #-------------------------------------------------------------------------------
        !            90: 
        !            91: #- TRANSLATOR PROFILE ----------------------------------------------------------
        !            92: # In order to identify the translator using the Java l10nZilla, this properties
        !            93: # file contains the following property values
1.1       dewi       94: #
1.2     ! dewi       95: translatorName=admin
        !            96: translatorLanguage=cy
1.1       dewi       97: #
                     98: #-------------------------------------------------------------------------------
                     99: 
                    100: 
1.2     ! dewi      101: 
1.1       dewi      102: #- SOURCE TEXTS INFORMATION ----------------------------------------------------
                    103: # Choose where the source texts resides.
                    104: # If it is a file then state the directory.
                    105: # If you wish to specify the source of texts to be the database or if you want to
                    106: # translate an archive in the database then give the following JDBC path :
                    107: #  jdbc:mysql://localhost/L10NZillaDatabase_Netscape71?useUnicode=true&characterEncoding=UTF-8
                    108: # C:/Program Files/mozilla.org/Mozilla102/chrome
1.2     ! dewi      109: #sourceWorkingDirectory=C:/Program Files/mozilla.org/firebird/07rc1/mozillafirebird/chrome
        !           110: sourceWorkingDirectory=C:/Program Files/mozilla.org/Mozilla15/chrome
1.1       dewi      111: #sourceWorkingDirectory=C:/mozPackage/n702/enUS/bin/chrome
                    112: 
                    113: # The language of your source texts. Usually this is English. The language code
                    114: # is the same as that used in Mozilla.
                    115: #
                    116: sourceLanguageCode=en
                    117: #
                    118: #-------------------------------------------------------------------------------
                    119: 
                    120: 
                    121: 
                    122: #- TARGET TEXTS INFORMATION ----------------------------------------------------
                    123: # Choose where the destination texts will reside.
                    124: # If you want to translate to a file then state the destination directory.
                    125: # If you wish to translate to the database then give the following JDBC path:
                    126: #
                    127: # C:/mozPackage/m102/bin/chrome
                    128: #destinationWorkingDirectory=C:/Program Files/mozilla.org/Mozilla14/chrome
1.2     ! dewi      129: #destinationWorkingDirectory=C:/Program Files/mozilla.org/firebird/07rc1/mozillafirebird/chrome
        !           130: destinationWorkingDirectory=C:/mozPackage/m15/bin/chrome
1.1       dewi      131: 
                    132: 
                    133: # The language of your target texts. The language code is the same as that used
                    134: # in your Mozilla language pack
                    135: #
                    136: destinationLanguageCode=cy
                    137: #
                    138: #-------------------------------------------------------------------------------
                    139: 
                    140: 
                    141: #- DICTIONARY AND HTML LOG LOCATIONS. ------------------------------------------
                    142: # Give the JDBC path to your database of archives giving you your Mozilla
                    143: # glossary/dictionary/'translation memory' as :
                    144: #   jdbc:mysql://localhost/L10NZillaDatabase?useUnicode=true&characterEncoding=UTF-8
                    145: #
1.2     ! dewi      146: dictionaryDBAddress=jdbc:mysql://localhost/L10NZillaDatabase_v3_Test?useUnicode=true&characterEncoding=UTF-8&user=admin
1.1       dewi      147: 
                    148: # A log of the translation results are always outputted to an HTML file in the
                    149: # directory stated below.
                    150: #
                    151: htmlTranslationResultsDirectory=C:/Program Files/mozilla.org/firebird/07rc1/mozillafirebird/chrome
                    152: #htmlTranslationResultsDirectory=C:/mozPackage/n702/bin/chrome
                    153: #
                    154: #-------------------------------------------------------------------------------
                    155: 
                    156: 
                    157: 
                    158: #- META INFORMATION NEEDED FOR MOZILLA CONTENTS.RDF FILES ----------------------
                    159: #
                    160: # Edit these values to configure mtt when you are creating a translated
                    161: # JAR file. The version number property is the version of Mozilla the
                    162: # language pack would be used in. e.g 1.0.0
                    163: #
                    164: author = Rhoslyn Prys, Dewi Jones
                    165: localeName=cy-GB
                    166: previewURL=
                    167: version=1.5
                    168: displayName=Cymraeg (GB)
                    169: 
                    170: #
                    171: #-------------------------------------------------------------------------------

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>