How the Syncfusion ASP.NET Core ReportViewer be localized?
ASP.NET Core ReportViewer default toolbar shows the tooltip text with common language in en-US culture. It supports to customize and localize the texts, tooltip of the user interface (UI) elements. You can create a ReportViewer sample in ASP.NET Core by referring the Getting Started documentation.
The following code snippet represents the localized tooltip text of few report viewer toolbar elements in Japanese language to display regional data.
<ej-report-viewer locale="ja-JP" id="container" report-service-url="/Home" processing-mode="Local"></ej-report-viewer> <script type="text/javascript"> ej.ReportViewer.Locale["ja-JP"] = { toolbar: { print: { headerText: '印刷', contentText: '印刷' }, exportformat: { headerText: '輸出', contentText: 'エクスポートされたファイル形式を選択します。', Pdf: 'PDF', Excel: 'エクセル', Word: '単語', Html: 'Html', CSV: 'CSV', PPT: 'PPT' }, first: { headerText: '最初の', contentText: 'レポートの最初のページに移動します。' }, previous: { headerText: '前の', contentText: 'レポートの前のページに移動します。' }, next: { headerText: '次の', contentText: 'レポートの次のページに移動します。' }, last: { headerText: '最後の', contentText: 'レポートの最後のページに移動します。' }, parameter: { headerText: 'パラメーター', contentText: '表示またはパラメータペインを非表示にします。' }, zoomIn: { headerText: 'ズーム•イン', contentText: 'レポートに拡大します。' }, zoomOut: { headerText: 'ズームアウト', contentText: 'レポートのズームアウト。' }, refresh: { headerText: 'リフレッシュ', contentText: 'レポートを更新します。' }, printLayout: { headerText: 'プレビュー', contentText: '印刷レイアウトモードと通常モードとの間で変更します。' }, zoom: { headerText: 'ズーム', contentText: 'レポート上のズームインまたはズームアウト。' }, back: { headerText: 'バック', contentText: 'バック親レポートに戻ります。' }, fittopage: { headerText: 'ページに合わせる', contentText: 'コンテナにレポートページを取り付けます。', pageWidth: 'ページ幅', pageHeight: 'ページ全体' }, pagesetup: { headerText: 'ページ設定', contentText: '用紙サイズ、向きや余白を変更するには、ページ設定オプションを選択します。' } }, credential: { userName: 'ユーザー名', password: 'パスワード' }, waterMark: { selectOption: '選択肢を選択', selectValue: '値を選択' }, selectAll: 'すべて選択', viewButton: 'レポートの表示。' }; </script>
Run the sample application and you can see the localized ReportViewer like the following screenshot.
Please download the reportviewer localization sample here
I hope you enjoyed learning about how to localize Syncfusion ASP.NET Core ReportViewer.
You can refer to our ASP.NET Core ReportViewer's feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our ReportViewer example to understand how to create and manipulate data.
For current customers, you can check out our ASP.NET Core controls from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!