previous   Java SourceLaTeX Source   next

Dictionaries

The language dependent files used by Jpgfdraw and Jdrview are contained in:

jpgfdraw/doc/english-uk
UK English version
jpgfdraw/doc/english-us
US English version

Both of these directories contain the following files:

README
the application README file
LICENSE
the licence file (which is also loaded by Jpgfdraw and Jdrview).
dictionary.txt
The dictionary containing the strings required for menus, dialogs etc. Each line in the dictionary file must be of the form:
<key>=<value>
(Blank lines or lines starting with a hash # are ignored.) For some keys, the value should contain \1, \2, ..., \9, indicating a value that will be substituted at runtime. (Currently, no more than \1 and \2 are used.) In addition, \n may be used to indicate a line break. If you want to provide your own dictionary, make sure that your editor does not break overly long lines as all of the <value> must be on the same line as its <key>. There should be no gaps around the equals sign.

The main makefile jpgfdraw/Makefile creates a symbolic link jpgfdraw/lib/language that points to one of the above directories, depending on which language option is chosen (default is jpgfdraw/doc/english-uk).

The directory jpgfdraw/doc/zh-Hans contains the Simplified Chinese dictionary provided by Wang Yong-Xian. This directory only contains the files dictionary.txt and README. The rest is copied from the US version.


previous   Java SourceLaTeX Source   next