JSPM

  • Created
  • Published
  • Downloads 786
  • Score
    100M100P100Q108285F
  • License Commercial

Localization resources for ActiveReportsJS

Package Exports

  • @grapecity/activereports-localization
  • @grapecity/activereports-localization/dist/ar-js-locales.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@grapecity/activereports-localization) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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 @grapecity/activereports-localization

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 '@grapecity/activereports-localization';
  1. Pass necessary language to viewer using language property:
var viewer = new ActiveReports.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 GC.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.