@grapecity-software/activereportsjs-i18n
v6.0.3
Published
Localization resources for ActiveReportsJS
Readme
ActiveReportsJS Localization
This package is part of ActiveReportsJS and provides localization resources for both the Report Viewer and Report Designer components.
Supported Languages
Localization support varies between components. Please refer to the lists below for the languages currently available:
Report Viewer Component
The Report Viewer supports the following localizations:
- English (
en) - Japanese (
ja) - Chinese (
zh) - Korean (
ko) - Dutch (
nl) - German (
de) - Italian (
it) - Brazilian Portuguese (
pt-BR) - French (
fr)
Report Designer Component
The Report Designer currently supports a more limited set of localizations:
- English (
en) - Japanese (
ja) - Chinese (
zh) - Korean (
ko) - French (
fr) - Italian (
it)
Installation and Usage
Install ARJS Localization package
npm install @gccn/activereportsjs-i18nActiveReportsJS Viewer
- Add reference to localization package
using html script tag:
<script type="text/javascript" src="./dist/ar-js-locales.js"></script>or import:
import '@gccn/activereportsjs-i18n';- Pass necessary language to viewer using
languageproperty:
var viewer = new GCCN.ActiveReportsJS.ReportViewer.Viewer('#root', { language: 'ja' });or in components
<Viewer language="ja" />- Also you can pass
languageproperty toPageReportctr (can be used in exporting/printing reports without viewer):
var pageReport = new ARJS.PageReport({ language: 'ja' });ActiveReportsJS Designer
- Add reference to localization package
using html script tag:
<script type="text/javascript" src="./dist/designer/ja-locale.js"></script>- Pass necessary language to designer using
languageproperty:
var designer = new GCCN.ActiveReportsJS.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.
