@mescius/activereportsjs-i18n

5.0.2 • Public • Published

ActiveReportsJS Localization

This package is a part of the ActiveReportsJS and provides language resources for ARJS Viewer and Designer Components

Supported languages are: Japanese 'ja', Chinese 'zh', Korean 'ko', Dutch 'nl', German 'de', Italian 'it', Brazilian Portuguese 'pt-BR'.

Installation and Usage

Install ARJS Localization package

npm install @mescius/activereportsjs-i18n

ActiveReportsJS Viewer

  1. Add reference to localization package

using html script tag:

<script type="text/javascript" src="./dist/ar-js-locales.js"></script>

or import:

import '@mescius/activereportsjs-i18n';
  1. Pass necessary language to viewer using language property:
var viewer = new MESCIUS.ActiveReportsJS.ReportViewer.Viewer("#root", { language: "ja" })

or in components

<Viewer language="ja"/>
  1. Also you can pass language property to PageReport ctr (can be used in exporting/printing reports without viewer):
var pageReport = new ARJS.PageReport({ language: "ja" });

ActiveReportsJS Designer

  1. Add reference to localization package

using html script tag:

<script type="text/javascript" src="./dist/designer/ja-locale.js"></script>
  1. Pass necessary language to designer using language property:
 var designer = new MESCIUS.ActiveReports.ReportDesigner.Designer("#designer-host", { language: "ja" });

Documentation

For more information on how to use ActiveReportsJS and available tools, refer to the Documentation or API reference for guidance.

Package Sidebar

Install

npm i @mescius/activereportsjs-i18n

Weekly Downloads

4

Version

5.0.2

License

Commercial

Unpacked Size

1.43 MB

Total Files

212

Last publish

Collaborators

  • mescius