V1
V1

Culture Setting

For ActiveReportJS localization, you can add the resource file (ar-js-locales.js) and set desired language using Language option. For example, if you want to display ActiveReportJS Viewer in Japanese, you can set the Language option to "ja" as shown below.

<html style="height: 600px; font-size: 14px">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <link rel="stylesheet" type="text/css" href="styles/ar-js-viewer.css">
    <script type="text/javascript" src="scripts/ie-polyfills.js"></script>
    <script type="text/javascript" src="scripts/ar-js-core.js"></script>
    <script type="text/javascript" src="scripts/ar-js-viewer.js"></script>

    <!-- Added reference -->
    <script type="text/javascript" src="scripts/ar-js-locales.js"></script>

</head>

<body>
    <div id="arjsv" style="height: 600px;"></div>

    <script>
        var viewer;
        window.onload = function(){
            var options = {language:'ja'}; 
            viewer = new ActiveReports.Viewer(document.getElementById("arjsv"),options);
            viewer.open("reports/InvoiceList.rdlx-json");
        };
    </script>
</body>

</html>