Checktool for Java2 1.0 : L10N Guide

Checktool for Java2 can run in your locale by easy modification!!

1. Copy Resource Bundle File for Your Locale

	# cd /opt/SUNWct/lib
	# cp Checktool.properties Checktool_<locale>.properties

2. Modify the following lines of Checktoo_.properties

	# checktool.readfilechar=
	# checktool.writefilechar=
	# mail_charset=

For Japanese locale, these would be like the following,

	# JISAutoDetect will be used for file loading
	# so EUC, JIS, PCK can be supported for Japanese
	checktool.readfilechar=JISAutoDetect

	# To keep compatibility with XView based Checktool,
	# Japan wants to EUC output file
	checktool.writefilechar=EUCJIS

	# JavaMail API 1.1 is now used.
	# MIME mail can be sent from Checktool
	# charset should be iso-2022-jp for Japanese Mail
	mail_charset=iso-2022-jp

When these properties are not specified, Checktool loads and writes files with the native encoding, which means when you use Checktool in EUC locale, Checktool loads and writes file as EUC encodings. Also mail_charset is defines as EUC.

3. Additionally translate messages of the properties file

To localize menu labels, messages and help, you can modify the properties in the file.

Please note that you need to run native2ascii when you put localized string into the properties file.

4. Start Checktool

The source codes of Checktool for Java2 are stored under

	/opt/SUNWct/src

Please tell me if you have any bugs and suggestions.

Sun Microsystems, Inc. All Rights Reserved.