Localization of Bold Reports® HTML5 JavaScript Report Viewer

To localize the Bold Reports® HTML5 JavaScript Report Viewer, refer to the following corresponding culture script files and set the culture name to the locale property of the Report Viewer. Localization renders static text such as tooltips, the parameter block, and dialog text in a specific culture.

* `ej.localetexts.fa-IR.min.js`

Refer to the CDN links for Localization and Culture to get the Localization and Culture scripts for the available culture codes.

  1. Refer to the ej.localetexts.fr-FR.min.js script file from the CDN link using the following code:

    <script src="https://cdn.boldreports.com/15.1.10/scripts/v2.0/localization/l10n/ej.localetexts.fr-FR.min.js"></script>
  2. To edit and preview the localized JavaScript Report Viewer, use the following sample.

index.js
$("#viewer").boldReportViewer(
        {
            reportServiceUrl: "https://demos.boldreports.com/services/api/ReportViewer",
            reportPath: '~/Resources/docs/sales-order-detail.rdl',
            //Render Report Viewer in French locale
            locale: "fr-FR"
        });