Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Excerpt

July 13, 2006
Submitted by Mike D'Amour, Pentaho Team Developer

With our next GA release coming up, I thought it would be good to get some internationalization expertise into the hands of the community.

...

  1. Make sure that your PCI demo server is running.
  2. In your favorite browser, navigate to the PCI demo home page - usually this is http://localhost:8080/pentaho. 
  3. Under the Refresh options, choose the Solution Repository, and click OK to confirm you want to refresh it. This step is how we tell the platform to pick up changes to the solution files.
  4. Navigate to Reporting Samples, and find your new report.
  5. Click on the link to your new report, and notice that the column label that used to be REGION is now Company Region. The label for that column was read from your resource bundle as a result of our changes. If you only see a dash (minus) where you should see Company Regions, then go back and check your xml for typos, and make sure that the name REGION you used for the key in your .properties file EXACTLY matches the text in your new resource-label node.

Image Added

Hopefully, by now, you get the jist of how this works. The final step in localizing the report to German is to create the German resource bundle.

...

That's all there is to it! I had you leave your files open, so that you can go back and change the rest of the labels to resource-labels, and move the resources to the English and German resource bundles, to complete the exercise. When completed, your report should resemble the following screenshot:

Image Added

In case you run into any problems, I have included the solution files for this exercise here.