An example of report localization
To see how the localization works in practice, let's develop an example of localized Pentaho Report that you can use in your future tasks. The idea is to reuse a previous example, replacing some static labels with resource-label
, and see how the report looks in a couple of different languages (we will use English and Spanish as examples).
For this purpose, let's reuse report_02.prpt
we saw in Chapter 4, Creating a Report with Report Designer. If you followed the suggestion, you should have the report saved in your my_report
folder in your development environment. If not, you can download it from the https://github.com/fcorti/pentaho-8-reporting-for-java-developers repository, from the Chapter 04 - Creating a report with Report Designer/my_reports
 path.
Once the report is opened in the Report Designer, select the label: Actuals per position title
element in the Structure
tab of the report explorer (you can find it under Master Report | Report Header
). To replace...