Locale

No change to others

<ej-grid id="Grid" locale="pl-PL" datasource="ViewBag.DataSource" allow-paging="true" allow-grouping="true">
                <e-columns>                   
                </e-columns>
            </ej-grid>

<script type="text/javascript">
       ej.Grid.Locale["pl-PL"] = {
           EmptyRecord: "Keine Aufzeichnungen angezeigt",
           GroupDropArea: "Przeciągnij tutaj nagłówek kolumny",
           DeleteOperationAlert: "Keine Einträge für Löschvorgang ausgewählt",
           EditOperationAlert: "Keine Einträge für Bearbeiten Betrieb ausgewählt",
           SaveButton: "Speichern",
           CancelButton: "stornieren",
           EditFormTitle: "Korrektur von",
           GroupCaptionFormat: "{{:field}}: {{:key}} - {{:count}} {{if count == 1}}Beiträge{{else}}Beiträges{{/if}}",
           UnGroup: "Klicken Sie hier, um die Gruppierung aufheben"
       };
       ej.Pager.Locale["pl-PL"] = {
           pagerInfo: "{0} von {1} Seiten ({2} Beiträge)",
           firstPageTooltip: "Zur ersten Seite",
           lastPageTooltip: "Zur letzten Seite",
           nextPageTooltip: "Zur nächsten Seite",
           previousPageTooltip: "Zurück zur letzten Seite",
           nextPagerTooltip: "Zum nächsten Pager",
           previousPagerTooltip: "Zum vorherigen Pager"
       };
</script>

3 Replies

FS Farveen Sulthana Thameeztheen Basha Syncfusion Team March 19, 2018 11:29 AM UTC

Hi Przemo, 

We have checked your query and apart from your given Localized Text,  you can get the localized content for pl-PL from referring the ej.localetexts.pl-PL.min.js file and ej.culture.pl-PL.min.js file for globalize number and date format in your HTML application, 

Please refer to the below documentation Link:- 

Please get back to us if you need any further assistance. 

Regards, 

Farveen sulthana T 



PR Przemo March 24, 2018 01:36 PM UTC

Hello 

I can not do anything. Grid is always english. Do you have any example project?


FS Farveen Sulthana Thameeztheen Basha Syncfusion Team March 26, 2018 02:45 PM UTC

Hi Przemo, 

We have prepared sample by applying Localization which can be downloaded from the below location. 


As mentioned in the above sample, please ensure that you have referred the Localization script files in your sample project. 

The script files which will be available from the below location:- 

(installed location)\Syncfusion\Essential Studio\16.1.0.24\JavaScript\assets\scripts\l10n 
 
For example, If you have installed the Essential Studio package within C:\Program Files (x86), then navigate to the below location, 
C:\Program Files (x86)\Syncfusion\Essential Studio\16.1.0.24\JavaScript\assets\scripts\l10n
 

After following the above sample and solution, still facing the problem please get back to us with further details. 

Regards, 

Farveen sulthana T 


Loader.
Up arrow icon