Cat1Label=Customer
Date1Label=Transaction Date
Val1Label=Product Quantity
while in a Sales_fr.properties file we would have:
Cat1Label=Client
Date1Label=Date de Transaction
Val1Label=Quantité de Produit
The labels are referenced in your report designs as externalized text from these properties resource files. They are used for column headers, chart axis labels and titles in your report designs. The name/value pair combination associate the appropriate value to the label reference.
Here is a screenshot of setting the x-axis label in a BIRT chart to some external text associated with Date1Label:
The properties files can be referenced through the BIRT report design Resource File setting:
Notice how the Resource File setting identifies the properties file as Sales. Depending on what locale is being used, BIRT will serve up the name/value pair from the appropriate locale-specific properties file. In our example, this would be either Sales_en_US.properties or Sales_fr.properties.
No comments:
Post a Comment