Hello.
I've started using Synfusion for MVC EJ2.
I cannot understand how to translate the Grid control.
I have found this...
In the Grid declaration:
}).AllowPaging().Locale("es")
And then I add this script:
ej.base.L10n.load({
'es': {
'grid': {
'EmptyRecord': 'Vacío',
'Item': 'Registro',
'Items': 'Registros'
},
'pager': {
'currentPageInfo': '{0} de {1} páginas',
'totalItemsInfo': '({0} registros)',
'firstPageTooltip': 'Primera página',
'lastPageTooltip': 'Última página',
'nextPageTooltip': 'Página siguiente',
'previousPageTooltip': 'Página anterior',
}
}
});
That works, but... how can I get the full list of items to translate in the grid? (validation messages, confirmation dialog, edit buttons, excel filter, column chooser, etc. etc. etc.)
Is there another best way to translate all the controls?
Thanks