The locale property (string | DayPilot.Locale) specifies the locale used by the JavaScript Gantt Chart component.
DayPilot.Gantt.localeDayPilot.Locale object - locale object instance that supplies localized strings and settings.
DayPilot.Locale identifier string, for example "en-us".
JavaScript
const gantt = new DayPilot.Gantt("dp", {
locale: "en-us",
// ...
});
gantt.init();Angular
<daypilot-gantt [config]="config"></daypilot-gantt>config: DayPilot.GanttConfig = {
locale: "en-us",
// ...
};React
<DayPilotGantt
locale={"en-us"}
{/* ... */}
/>Vue
<DayPilotGantt
locale="en-us"
<!-- ... -->
/>