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 translation to Spanish

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




3 Replies

TS Thavasianand Sankaranarayanan Syncfusion Team April 26, 2019 11:05 AM UTC

Hi Eligio, 

Greetings from Syncfusion support. 

We have already discuss about the query in the following documentation. 


Please let us know if you need further assistance on this. 

Regards, 
Thavasianand S. 



EL Eligio April 30, 2019 10:24 PM UTC

Thanks! Finally I get it!


RN Rahul Narayanasamy Syncfusion Team May 1, 2019 10:54 AM UTC

Hi Eligio, 
 
We are happy to hear that the provided information helpful to achieve your requirement. 
 
Please get back to us if you need further assistance. 
 
Regards, 
Rahul N. 


Loader.
Live Chat Icon For mobile
Up arrow icon