设置设计器语言

本示例主要展示了如何在不同框架中设置Web设计器的显示语言,设计器内置了三种语言的资源,可设置日语("ja"),中文("zh")及英文("en"),具体操作步骤可参考文档:本地化设置

<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <title>ActiveReportsJS sample</title> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <script src="/activereportsjs/demos/arjs/dist/ar-js-core.js"></script> <script src="/activereportsjs/demos/arjs/dist/ar-js-designer.js"></script> <script src="/activereportsjs/demos/arjs-localization/dist/designer/ja-locale.js"></script> <script src="$DEMOROOT$/lib/purejs/license.js"></script> <link rel="stylesheet" type="text/css" href="/activereportsjs/demos/arjs/styles/ar-js-ui.css" /> <link rel="stylesheet" type="text/css" href="/activereportsjs/demos/arjs/styles/ar-js-designer.css" /> <style> #designer-host { width: 100%; height: 550px; } </style> </head> <body> <div id="designer-host"></div> <script> new GC.ActiveReports.ReportDesigner.Designer("#designer-host", { language: "ja", }); </script> </body> </html>