O'Reilly logo

BIRT: A Field Guide to Reporting by Nola Hague, Alethea Hannemann, Diana Peh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 24. Localizing Text

When you insert label and text elements in a report, you typically type the text that you want to display. Use literal, or static, text if a report will always be viewed in one language or locale. If, however, a report will be translated into multiple languages, BIRT Report Designer enables you to use resource keys rather than static text. The resource keys are translated, or localized, in resource files.

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 four languages, you create four resource files to define text values for each language. When a report runs, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required