How to localize report

In order to localize your report you can use our localization API. 

To use our API you need to create localization xml file with the following structure:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Localization language="English" culture="EN" description="English">
  <Section ident="LocalizationSection">
    <String ident="LocalizingStringIdentifier"> LocalizedStringValue</String>

After that you can load it in your report:

reportLocalizationFile = new LocalizationFile();
reportLanguage = new Language();

And use localization API in your bindings like below:


However, if you want to use your own localization mechanics you can just import required namespace and call static method in script.

There is a sample that illustrates both methods: 

Xml file with localization keys can be found in the bin directory.

Add Feedback