Search results

Localization

Localization is the process of customizing the application for a given culture and locale - involving much more than the simple translation of text. In web report designer, localized strings appropriate to each culture are stored in separate files and loaded according to the UI culture setting.

By default report designer display strings in US English(en-US).

To render the static text with specific culture, refer the following corresponding culture script files and set culture name to the locale property of the Report Designer.

  • ej.localetexts.fr-FR.min.js
  • ej.culture.fr-FR.min.js

Refer the ej.localetexts.fr-FR.min.js and ej.culture.fr-FR.min.js scripts from cdn using the following code in <head> tag of the Report Designer HTML page.

<script src="http://cdn.syncfusion.com/4.1.0.25/js/l10n/reportdesigner/ej.localetexts.fr-FR.min.js"></script>
<script src="http://cdn.syncfusion.com/js/assets/i18n/ej.culture.fr-FR.min.js"></script>

You can edit and preview the Report Designer localization using the following.

index.html
index.js
    <body style="overflow: hidden; position: static; margin: 0; padding: 0; height: 100%; width: 100%;">
        <div id="designer" style="position: absolute; height: 100%; width: 100%;"></div>
        <script src="index.js"></script>
    </body>
    $(function () {
        $("#designer").ejReportDesigner({
         serviceUrl: "https://reports.syncfusion.com/demos/services/api/ReportingAPI",
         locale: "fr-FR"
        });
    });