Configuring the Java Add-In
The configuration can be set globally, or locally for selected string lists.
For global configuration, select , to call up the dialog box for the configuration of add-ins. Select the file parser Java Parser, and click on Setup....
If the application uses ResourceBundles that are not derived directly from ListResourceBundle or ArrayResourceBundle, the respective base classes can be entered in the field labeled Class names derived from ListResourceBundle or ArrayResourceBundle, with entries separated by spaces or semicolons.
The encoding for source property files is normally recognized automatically. Files in 8 bit character set without BOMs (byte order marks) are then recognized as ANSI. If it actually is UTF8 format, then select here "UTF8 without BOM".
Unless otherwise specified, the property target file is written using the same encoding as the source file. With the ANSI format, the codepage that is specified for the target language in the language settings is used when the target file is written. If you want to use a different encoding for the target file, you can select ANSI, UTF-8, Unicode or Unicode big endian instead of same as source files under Encoding for target property files.
If the property files or the source code files for ResourceBundles are to contain ASCII characters only, the option Escape all characters above 0x7f as \uxxxx can be used to encode any non-ASCII characters as UNICODE escape sequences.
Choose the option Use static resource name "strings" for all non-archive files if the file name is likely to change in the course of the project, for example in connection with a version or date extension. This means that the strings will be linked correctly within the project even if the file names change.
With the Sentence level sub-segmentation option you can specify that the strings extracted from the Java resources should be segmented at sentence level according to the currently active segmentation rules. For strings that comprise several sentences, such as longer error messages or help texts, there are then several lines in the translation list that can be translated and processed separately. For further information about the segmentation of strings please refer to The SRX Segmenter.
Click on Set as default if you have changed the settings for a source file and want to use these settings for new Java files.