Localizing Text
If you are not familiar with resource keys or resource files, think of resource keys as variables, and resource files as text files in which the variables are set to their values. If a report needs to appear in three languages, create three resource files to define text values for each language. When a report runs, BIRT uses the machine’s current locale, the resource keys, and the resource files to find the appropriate text value to display. Figure 20-1 shows the functions of resource files and resource keys in a localized report.
(c) Copyright Actuate Corporation 2013 |