Overview. Java scanner options allow the user to specify how to localize Java files. By default Multilizer localizes properties files, but it can also be configured to localize Java code files.
The most important settings are the following:
This plug-in is available as a separate plug-in.
Scan Directory. This is the most important setting; it tells in which directory the files to localize are located. This field should contain an absolute path or relative path. If the files to localized are in same directory as the Multilizer project, specify '.' here.
Process subfolders. Check this, if there are more files to localize under Scan directory.
Process localized files. By default Multilizer doesn't scan localized .properties files, such as dcalc_en.properties by example. Check this, if you have a good reason to scan something else than the original properties files. Generally this setting should be unchecked, as Multilizer aims to localize properties files following Java standards.
Process *.java files. Checking this enables the localization of .java code files. Normally localizable information is in .properties files, so this setting should be unchecked.
Process *.properties files. Check this to enable localization of .properties files.
Support for Jar files
The Java Scanner supports the localization of files that are inside a Jar package. To enable this, check Process Jar files.
During the localization the files are extracted from the Jar file so the directory should be specified for these temporary files. Ensure that the Folder to extract content of jar files exists.
This tab contains settings that affect localization of .properties files.
Native language. Specifies the native language that is used in the target. Set this to match the language in the original file.
Default language. Specifies the default language. It is the language that is used in the build process, if there is no translation given in the the build language. The translation search order is following: first the build languages, then the default language.
Native encoding. Specifies the native encoding that is used when reading the original files. If the encoding is not specified, Unicode escapes are assumed.
Encoding list. Contains the encodings to be used in the localized files. To change the value right click the line and select a new value.
Fall-Back language: Specifies the default (base) language for which the software is intended; in other words, specifies the fall-back language.
Specify here the files that should not be localized.
By default Multilizer localizes all .properties files.