Download Jpgfdraw User Manual Version 0.5.6b

Transcript
C
Multilingual Support
All the language dependent information is stored in the lib/resources subdirectory of the installation directory. If you want all the menus, tooltips etc in another language, you will need to translate the dictionary file (found in lib/resources/dictionaries/).
This has a hkeyi=hvaluei format. Only the hvaluei text should be translated. Note that
each hkeyi=hvaluei pair must be contained on a single line, so if hvaluei contains a
lot of text, take care if your text editor likes to break lines automatically. Some of the
values contain \1 and \2. These represent values that are substituted at runtime. The
sequence \n indicates to insert a line break when displaying the string at runtime. The
dictionary file should be named jpgfdraw-hlangi.prop where hlangi is the 2 letter
language identifier with optionally a country identifier (for example en-GB).
There are three keys (about.translator, about.translator info and
about.translator url) which can be used to identify yourself as the translator.
If the about.translator value is set, the information will be displayed in the Help
→ About. . . dialog box.
If you want to translate the user manual, you can translate all the files in the
helpset subdirectory1 , or you may find it easier to download the source code and
translate the user manual LATEX source (see next section). The latter option is recommended if you also want to translate the PDF version of the manual. The source for
both the PDF manual and the helpset is in LATEX with helper Perl scripts.
If you want to make your translations publicly available, send them to me and I’ll
add them to Jpgfdraw’s home page and the next distribution. Please indicate if you
want them distributed under a different licence (in which case they may have to be
distributed separately).
1 you
will also need to use jhindexer (a JavaHelp utility) to create the on-line index.
215