How to localize iReport



The client of the project Van Meijel needed iReport in their mother tongue, Dutch. So I was asked to conduct a research and check whether it is feasible. I had to search and later I found that localization is facilitated in iReport.

  1. .Create a Netbeans project for the downloaded iReport source which has built using Netbeans.
  2. .Go to \iReport-nb\trunk\iReport\ireport-designer\src\com\jaspersoft\ireport\locale Bundle.properties files which listed the key words and translated them into English which are used in the iReport interface.
  3. . Copy the file and create a new file named “Bundle_du.properties”.
  4. .Translate the English terms into Dutch or any language you want.
  5. . Rename the “Bundle.properties” file into “Bundle_en.properties” and “Bundle_du.properties” file into “Bundle.properties”.
  6. Run the project and you can see that all the strings have translated in to the language you write in the .properties file.


Advertisements

Author: Harshani Nawarathna

Sri Lankan woman in Computing

One thought on “How to localize iReport”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s