All the JReport Designer UI text and message related files are packaged in the file resource_en_US.jar (if JReport Designer is Chinese version, the file name is resource_zh_CN.jar) in <install_root>\lib
. To make JReport Designer display in your required language, you just need to translate the needed files in this package.
The following takes French as an example to explain how to make JReport Designer display in another language.
<install_root>\lib
, then rename it to resource_fr_FR.jar.
The name of the file must follow the format below: resource_abbreviation of the language with lowercase_abbreviation of the country using the language with uppercase.jar. The language argument is a valid ISO Language Code as defined by ISO-639. You can find a full list of these codes at a number of sites, for example: http://www.loc.gov/standards/iso639-2/php/code_list.php. The locale argument is a valid ISO Country Code as defined by ISO-3166. You can find a full list of these codes at a number of sites, for example: http://www.chemie.fu-berlin.de/diverse/doc/ISO_3166.html.
DataBrowser.xml
ReferenceEntityDialog.xml
MainMenu.xml
ToolBoxResource.xml
HelpLinkResource.xml
FormulaSpecialFieldsResource.xml
CrosstabFormulaFunctions.xml
FormulaFunctions.xml
FormulaOperators.xml
CTFormulaSpecialFieldsResource.xml
DynamicFormulaSpecialFieldsResource.xml
<install_root>\lib
to replace the original one.in <install_root>\bin
, and set the value of the property to _fr_FR. Make sure that JReport Designer is closed when you modify this file.
The language name must follow the format below: abbreviation of the language with lowercase_abbreviation of the country using the language with uppercase.jar. If the name format is not correct, JReport Designer will start with the default language.
<install_root>\bin
and select Edit from the shortcut menu to open the file, then change the name of the language package resource_en_US.jar to resource_fr_FR.jar.