Hi Sebastin,
We can translate the Gantt default text by using localization support, this can be done by calling setCulture method with required culture name and locale text value. Please find the code example below.
import { L10n, setCulture } from '@syncfusion/ej2-base';
setCulture('es');
L10n.load({
'es': {
'gantt': {
"id": "CARNÉ DE IDENTIDAD",
"name": "Nombre",
"startDate": "Fecha de inicio",
"endDate": "Fecha final",
"duration": "Duración",
"progress": "Progreso",
"dependency": "Dependencia",
},
}
}); |
Please find the below documentation and sample link.
We have also logged a UG documentation to provide details about the default locale text. It will be refreshed in our live URL at the mid of October 2019.
You can find the default locale text for various culture for Gantt in below link.
Please let us know if any further queries.
Regards,
Gurunathan