File:  [mozdev] / l10nzilla / java / l10nZilla.properties
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Sun Dec 7 10:23:38 2003 UTC (16 years ago) by dewi
Branches: MAIN
CVS tags: HEAD
Added Translator details into properties file. Needed for database creation and updating. Corresponds to the username and login also used in php-l10nzilla.

# Properties file to configure l10nZilla.
#

#-------------------------------------------------------------------------------
# l10nZilla can do one of three command line driven operations.
#
#   - createDB
#      Given the URL to a L10nZilla database, will create the tables required
#      by L10NZilla
#
#   - showArchives
#      Lists the names of all the archives presently in the L10NZilla database
#
#   - archive
#      Archive source or translated Mozilla texts stored into the mySQL database.
#      Selection of the source sourceWorkingDirectory+filename argument
#      determines how l10nZilla interprets the source text as format.
#      i.e as a Mozilla jar file or po file etc.
#
#      Usage:
#       archive [lang_code] [filename] [archive name]
#       (with values given in this properties file for  :
#           sourceWorkingDirectory
#           dictionaryDBAddress
#
#        e.g. > archive en en-US.jar M13
#             > archive cy cy-GB.jar M13
#             > archive en en-win.jar M13win
#             > archive cy cy-win.jar M13win
#
#           where in the l10nZilla.properties:
#
#           sourceWorkingDirectory=C:/Program Files/mozilla.org/Mozilla13b/chrome
#           dictionaryDBAddress=jdbc:mysql://localhost/L10NZillaDatabase?useUnicode=true&characterEncoding=UTF-8&user=admin
#
#
#
#   - translate
#      Translate a given source and generate from texts previously archived in
#      the mySQL database a translated destination.
#      The selection of sourceWorkingDirectory+filename determines how l10nZilla
#      interprets the source text format i.e. as a Mozilla jar file
#      The selection of destinationWorkingDirectory+filename determines how
#      l10nZilla writes the destination text i.e. to a mozilla jar file format,
#      po format, HTML etc.
#      N.B. using this command, l10nZilla is capable of transforming between
#           various localisation text file formats for working on translating
#           Mozilla in various localisation tools.
#
#      During the first translation attempt, l10nzilla will look up if a translation
#      with in the preferred dictionary archive exists. You can enter any archive name
#      here.
#
#      Usage:
#       translate [source filename] [destination filename] [preferred dictionary archive] [new archive name/None]
#       (with values given in this properties file for :
#           sourceWorkingDirectory
#           sourceLanguageCode
#           destinationWorkingDirectory
#           destinationLanguageCode
#           dictionaryDBAddress
#           htmlTranslationResultsDirectory
#           meta data fields for inclusion in contents.rdf files.
#
#        e.g. > translate en-US.jar cy-GB.jar M13 M14
#             > translate en-win.jar cy-win.jar M13win None
#
#           where in the l10nZilla.properties:
#
#           sourceWorkingDirectory=C:/Program Files/mozilla.org/Mozilla13/chrome
#           sourceLanguageCode=en
#           destinationWorkingDirectory=C:/MozillaPackage/Mozilla13/bin/chrome/
#           destinationLanguageCode=cy
#           dictionaryDBAddress=jdbc:mysql://localhost/L10NZillaDatabase?useUnicode=true&characterEncoding=UTF-8&user=admin
#           htmlTranslationResultsDirectory=C:/MozillaPackage/Mozilla13/log
#
#           author = Rhoslyn Prys, Dewi Jones
#           localeName=cy-GB
#           previewURL=
#           version=1.3
#           displayName=Cymraeg
#
#        To do a simple transformation of localisation file format without
#        involving any auto translation processing, simply give the sourceLanguageCode
#        and destinationLanguageCode the same values.
#
#
#
#-------------------------------------------------------------------------------

#- TRANSLATOR PROFILE ----------------------------------------------------------
# In order to identify the translator using the Java l10nZilla, this properties
# file contains the following property values
#
translatorName=admin
translatorLanguage=cy
#
#-------------------------------------------------------------------------------



#- SOURCE TEXTS INFORMATION ----------------------------------------------------
# Choose where the source texts resides.
# If it is a file then state the directory.
# If you wish to specify the source of texts to be the database or if you want to
# translate an archive in the database then give the following JDBC path :
#  jdbc:mysql://localhost/L10NZillaDatabase_Netscape71?useUnicode=true&characterEncoding=UTF-8
# C:/Program Files/mozilla.org/Mozilla102/chrome
#sourceWorkingDirectory=C:/Program Files/mozilla.org/firebird/07rc1/mozillafirebird/chrome
sourceWorkingDirectory=C:/Program Files/mozilla.org/Mozilla15/chrome
#sourceWorkingDirectory=C:/mozPackage/n702/enUS/bin/chrome

# The language of your source texts. Usually this is English. The language code
# is the same as that used in Mozilla.
#
sourceLanguageCode=en
#
#-------------------------------------------------------------------------------



#- TARGET TEXTS INFORMATION ----------------------------------------------------
# Choose where the destination texts will reside.
# If you want to translate to a file then state the destination directory.
# If you wish to translate to the database then give the following JDBC path:
#
# C:/mozPackage/m102/bin/chrome
#destinationWorkingDirectory=C:/Program Files/mozilla.org/Mozilla14/chrome
#destinationWorkingDirectory=C:/Program Files/mozilla.org/firebird/07rc1/mozillafirebird/chrome
destinationWorkingDirectory=C:/mozPackage/m15/bin/chrome


# The language of your target texts. The language code is the same as that used
# in your Mozilla language pack
#
destinationLanguageCode=cy
#
#-------------------------------------------------------------------------------


#- DICTIONARY AND HTML LOG LOCATIONS. ------------------------------------------
# Give the JDBC path to your database of archives giving you your Mozilla
# glossary/dictionary/'translation memory' as :
#   jdbc:mysql://localhost/L10NZillaDatabase?useUnicode=true&characterEncoding=UTF-8
#
dictionaryDBAddress=jdbc:mysql://localhost/L10NZillaDatabase_v3_Test?useUnicode=true&characterEncoding=UTF-8&user=admin

# A log of the translation results are always outputted to an HTML file in the
# directory stated below.
#
htmlTranslationResultsDirectory=C:/Program Files/mozilla.org/firebird/07rc1/mozillafirebird/chrome
#htmlTranslationResultsDirectory=C:/mozPackage/n702/bin/chrome
#
#-------------------------------------------------------------------------------



#- META INFORMATION NEEDED FOR MOZILLA CONTENTS.RDF FILES ----------------------
#
# Edit these values to configure mtt when you are creating a translated
# JAR file. The version number property is the version of Mozilla the
# language pack would be used in. e.g 1.0.0
#
author = Rhoslyn Prys, Dewi Jones
localeName=cy-GB
previewURL=
version=1.5
displayName=Cymraeg (GB)

#
#-------------------------------------------------------------------------------

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