@@ -36,6 +36,18 @@ export class LocalizationAllResourcesComponent implements OnInit {
3636
3737 constructor ( ) { }
3838 public ngOnInit ( ) : void {
39+ this . data = DATA ;
40+
41+ // Creating a custom locale (HI) for specific grid strings.
42+ // Similarly can localize all needed strings in a separate IgxResourceStringsHI file (feel free to contribute)
43+ this . partialCustomHindi = {
44+ igx_grid_summary_count : 'गणना' ,
45+ igx_grid_summary_min : 'न्यून' ,
46+ igx_grid_summary_max : 'अधिक' ,
47+ igx_grid_summary_sum : 'योग' ,
48+ igx_grid_summary_average : 'औसत'
49+ } ;
50+
3951 registerI18n ( IgxResourceStringsBG , 'bg' ) ;
4052 registerI18n ( IgxResourceStringsCS , 'cs' ) ;
4153 registerI18n ( IgxResourceStringsDA , 'da' ) ;
@@ -56,18 +68,6 @@ export class LocalizationAllResourcesComponent implements OnInit {
5668 registerI18n ( IgxResourceStringsZHHANS , 'zh-Hans' ) ;
5769 registerI18n ( IgxResourceStringsZHHANT , 'zh-Hant' ) ;
5870 registerI18n ( this . partialCustomHindi , 'hi' ) ;
59-
60- this . data = DATA ;
61-
62- // Creating a custom locale (HI) for specific grid strings.
63- // Similarly can localize all needed strings in a separate IgxResourceStringsHI file (feel free to contribute)
64- this . partialCustomHindi = {
65- igx_grid_summary_count : 'गणना' ,
66- igx_grid_summary_min : 'न्यून' ,
67- igx_grid_summary_max : 'अधिक' ,
68- igx_grid_summary_sum : 'योग' ,
69- igx_grid_summary_average : 'औसत'
70- } ;
7171 }
7272
7373 public updateLocale ( ) {
0 commit comments