Report Locales

Reports that have resource bundles for localization can be generated in a specific languages when the locale is passed using the REPORT_LOCALE built-in report parameter. If this parameter is not specified in the web service request, the report locale defaults to the request's locale. If no locale was specified for the request, the report is generated in the server's default locale.

The following XML shows a request to run a report in the Italian locale, which is passed as the value of the REPORT_LOCALE built-in report parameter:

<request operationName="runReport" locale="fr">
<argument name="RUN_OUTPUT_FORMAT">JRPRINT</argument>
<resourceDescriptor name="" wsType="" uriString="/reports/samples/EmployeeAccounts"
                    isNew="false">
<label>null</label>
<parameter name="REPORT_LOCALE">it</parameter>
<parameter name="EmployeeID">emil_id</parameter>
</resourceDescriptor>
</request>

If the built-in report parameter is removed from this request, the report is generated in French, based on the locale attribute of the request.

Version: 
Feedback
randomness