Localization

Localization is the process of customizing your application for a given culture and locale - involving much more than the simple translation of text.

Web report designer localization

In web report designer, localized data appropriate to each culture are stored in separate files and loaded according to the UI culture setting.

The default language is English en-US.

Customize the Report Server language list

In order to change the locale for web report designer in run time, customize the Report Server language list.

Read the following documentation on how to add new localizations and how to edit existing localizations in the Syncfusion Report Server.

Scripts Location

The localization script files for report designer, report viewer and standalone query designer has been provided as separate script files under below build installed location.

[Installed Drive]:\Program Files (x86)\Syncfusion\Report Server\ReportServer.Web\Scripts\Localization\reportdesigner

[Installed Drive]:\Program Files (x86)\Syncfusion\Report Server\ReportServer.Web\Scripts\Localization\querydesigner

[Installed Drive]:\Program Files (x86)\Syncfusion\Report Server\ReportServer.Web\Scripts\Localization\reportviewer

Edit an existing report designer locale script file

  • Open the ej.localetexts.en-US.js report designer locale script file from the following location [Installed Drive]:\Program Files (x86)\Syncfusion\Report Server\ReportServer.Web\Scripts\Localization\reportdesigner.

  • Now, translate the texts to your desired culture.

Note: Do not change the JSON structure and keys defined in the locale script file.

Add a new report designer locale script file

  • Create a new .js script file.

  • Need to save the file name in ej.localetexts.{culture-code}.js format.

  • Define the JSON structure as like in the report designer locale script file provided at the build installed location.

  • Now, copy and paste your own script file in the following location [Installed Drive]:\Program Files (x86)\Syncfusion\Report Server\ReportServer.Web\Scripts\Localization\reportdesigner.

Note: Follow the same procedure to add or edit locale script files for query designer and report viewer.