locale : stringDefault: 'en-us'

The language that needs to be in use.

Examples

German Bootstrap Default

    
 <table id="grid"></table>
 <script>
     $('#grid').grid({
         dataSource: '/Players/Get',
         uiLibrary: 'bootstrap',
         locale: 'de-de',
         columns: [
             { field: 'ID', width: 34 },
             { field: 'Name', title: 'Name' },
             { field: 'PlaceOfBirth', title: 'Geburtsort' }
         ],
         pager: { limit: 5 }
     });
 </script>

  

French MaterialDesign Custom

    
 <table id="grid"></table>
 <script>
     gj.grid.messages['fr-fr'].DisplayingRecords = 'Mes résultats';
     $('#grid').grid({
         dataSource: '/Players/Get',
         uiLibrary: 'materialdesign',
         locale: 'fr-fr',
         columns: [
             { field: 'ID', width: 56 },
             { field: 'Name', title: 'Prénom' },
             { field: 'PlaceOfBirth', title: 'Lieu de naissance' }
         ],
         pager: { limit: 5 }
     });
 </script>