We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Grid Filter Language

Hello, how do I change Grid filter strings for Portuguese?

1 Reply

AA Arulraj A Syncfusion Team December 14, 2018 06:45 AM UTC

Hi Leandro, 

Thanks for using Syncfusion product. 

By default, GridControl does not have the support to filter the values. So, we suspect that you may use GridGroupingControl. To localize the filter strings in GridGroupingControl, you could implement the ILocalizationProvider interface and modify the strings based on your culture Portuguese using GetLocalizedString method. Please refer the following code example and our Dashboard sample 

//This should initialized before initializing the GridGroupingControl 
LocalizationProvider.Provider = new Localizer (); 
class Localizer : ILocalizationProvider 
    public void getstring() 
    public string GetLocalizedString(System.Globalization.CultureInfo culture, string name, object obj) 
        switch (name) 
            //Your localized string 
            case DynamicFilterResourceIdentifiers.StartsWith: 
                return "Começa com"; 
        return string.Empty; 

Dashboard sample location: \Syncfusion\EssentialStudio\\Windows\Grid.Grouping.Windows\Samples\Localization Samples\Localization Demo\CS  
Please refer the below forum link, 
Please let us know if you need any further assistance on this. 

Arulraj A 

Live Chat Icon For mobile
Up arrow icon