How to use Hebrew in ej2 controls?

This question is relevant to all controls.

How can I change the language?

I have tried to call 

export class AppModule {

    constructor()
    {
        setCulture('he-IL');
    }
}



3 Replies

VA Venkatesh Ayothi Raman Syncfusion Team March 15, 2018 01:07 PM UTC

Hi Tomer, 

Thanks for using Syncfusion products. 

We can give localization for using locale property in Grid. Please refer to the following Help documentation for more information and code example, 
Grid
Code example
[ts file] 
setCulture('he-IL'); 
 
L10n.load({ 
      'he-IL':
        'grid': { 
            'EmptyRecord': 'רשומה ריקה', 
            'GroupDropArea': 'אזור ירידה של הקבוצה', 
            'UnGroup': 'אונקרופ', 
            'EmptyDataSourceError': 'ריקה שגיאת מקור נתונים', 
            'Item': 'פריט', 
            'Items': 'פריטים, 
            'Cancel':'לְבַטֵל', 
            'OK':'בסדר', 
            'ClearFilter':'נקה מסנן', 
            'TextFilter':'מסנן טקסט', 
            'DateFilter':'מסנן תאריךר' 
        }, 
}); 
 
[Grid] 
<ejs-grid #grid [dataSource]='data' locale='he-IL' allowGrouping='true' allowPaging='true' id='Grid'> 
        
        <e-columns> 
. . 
        </e-columns> 
    </ejs-grid> 

But Currently we unable to provide support for Localization to filter. So, we have considered this “provide Locale support for Filtering” as bug and logged the defect report. This fix will be included in our upcoming patch release on March 28,2018. 
Please refer to the other controls localization help documentation, 
DatePicker
Dialog
DropDownList
NumericTextBox
AutoComplete: 

Please let us know if you have any further assistance on this. 

Regards, 
Venkatesh Ayothiraman. 



TO tomer March 15, 2018 01:16 PM UTC

Ok,can I totally replace the filter template?

I just need to use Hebrew

Thanks

Tomer


VA Venkatesh Ayothi Raman Syncfusion Team March 17, 2018 09:20 AM UTC

Hi Tomer, 

Thanks for the update. 

Yes, we can apply the custom(hebrew) localization for all filter. We have already considered this “provide Locale support for excel custom menu filter” as bug and logged the defect report. This fix will be included in our upcoming patch release on March 28,2018.   

Regards, 
Venkatesh Ayothiraman. 


Loader.
Up arrow icon