Translation problem

Hi,
I'd like to translate the button from excel-like filter in ej1 grid (javascript/angularJS) but i can't find the correct key-value pair to replace. ¿Can you please help me?
I tried in 2 different ways but without success...
And in my index.html I got this:
And in the grid:
Thank you very much,
Best regards,

1 Reply 1 reply marked as answer

PS Pon Selva Jeganathan Syncfusion Team October 28, 2020 02:01 PM UTC

Hi Manolo, 

Thanks for using syncfusion products. 

QUERY: Translation problem


From shared query, all text can be localized in Excel-Filter using “ej.ExcelFilter.Locale object. You can assign the desired property with value to a ej.ExcelFilter.Locale object. You will find the Property with a value below the help documentation link:  https://help.syncfusion.com/js/grid/globalizationandlocalization#excel-filter-localization 
Please refer the below code snippet, 
 
<script src="…/cultures/globalize.culture.es-ES.min.js"></script> 
<script type="text/javascript"> 
….. 
        ej.ExcelFilter.Locale["es-ES"] = { 
                    OK: "DE ACUERDO", 
                    MatchCase: "Coincidencia", 
                    Cancel: "Cancelar", 
                    NoResult: "No se encontraron coincidencias", 
                    CheckBoxStatusMsg: "No todos los elementos que muestran", 
                    DatePickerWaterMark: "Seleccione fecha", 
                    DateTimePickerWaterMark: "Seleccionar fecha y hora", 
                    True: "cierto", 
                    False: "falso", 
                    AddToFilter: "Agregar selección actual para filtrar" 
 
            }; 
               $(function () { 
            $("#Grid").ejGrid({ 
                …… 
                allowFiltering : true, 
               filterSettings : { 
                 filterType : "excel" 
                 }, 
                locale: "es-ES", 
                columns: [ 
                         { field: "OrderID", headerText: "Order ID", isPrimaryKey: true, textAlign: ej.TextAlign.Right, width: 75 }, 
…… 
            }); 
        }); 
 


For your convenience we have created a sample. Please refer the below sample link:  

Kindly get back to us for further assistance. 

Regards, 
Pon selva  


Marked as answer
Loader.
Up arrow icon