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

How to apply localization to the columnMenu in GanttChart

Hi,

I was trying to apply localization to Spanish in a Gantt component, based on the following documentation: Gantt Localization, however, some keywords such as those of the columnMenu were not in that list, how could I do it? Thanks





1 Reply

GM Gopinath Munusamy Syncfusion Team January 23, 2023 07:28 AM UTC

Hi Alberto Torres,

You can set the locale word to the column menu list items by defining the keywords under the Grid object. We have prepared a sample for how to define this keyword. We have shared the GitHub location which included different culture. By using this, you can be able to set keywords for your culture. Please check the attached sample and GitHub link for more information.

Code snippets:


[index.js]

 

L10n.load({

  'de-DE': {

    grid: {

      autoFitAll: 'Ajuste automático de todas las columnas',

      autoFit: 'Ajustar automáticamente esta columna',

      SortAscending: 'Orden ascendente',

      SortDescending: 'Orden descendiente',

    },

 


Sample: https://stackblitz.com/edit/localization-ptckpw-jwfaqu-cetk1i?file=index.js

GitHub location: https://github.com/syncfusion/ej2-locale/tree/master/src

UG Documentation: https://ej2.syncfusion.com/react/documentation/grid/global-local/#localization

UG Documentation: https://ej2.syncfusion.com/react/documentation/gantt/global-local/#localization


Regards,

Gopinath M



Loader.
Up arrow icon