Localization of HTML5 JavaScript Report Viewer allows you to localize the static text such as tooltip, parameter block, and dialog text based on a specific culture. To render the static text with specific culture, refer to the following corresponding culture script files and set culture name to the locale property of the Report Viewer.
* `ej.localetexts.fa-IR.min.js`Refer this CDN links for Localization and Culture to get the Localization and Culture scripts for available Culture Code
Refer the ej.localetexts.fr-FR.min.js from cdn using the following code.
<script src="https://cdn.boldreports.com/12.1.12/scripts/v2.0/localization/l10n/ej.localetexts.fr-FR.min.js"></script>You can edit and preview the Report Viewer localization using the following.
$("#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"
});