BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
Hi Otto,
Thanks for using Syncfusion products.
We can change the localization of Gantt chart, with the help of “Locale” property along with corresponding "columnHeaderTexts" and “editDialogTexts” culture fileds.
Please refer the below code snippets for more details.
Code snippets:
@(Html.EJ().Gantt("Gantt"). //... .Locale("pt-BR") .Datasource(ViewBag.dataSource) ) @(Html.EJ().ScriptManager()) <script> ej.Gantt.localization["pt-BR"] = { //string to display with dataSource contains 0 objects emptyRecord: "registro vazio",
//headerText to be displayed in gridtree columnHeaderTexts: { taskId: "tarefa Id", taskName: "Nome da Tarefa", startDate: "Data De Início", endDate: "Data de Término", resourceInfo: "Informações de Recursos", duration: "duração", status: "estado", predecessor: "antecessor", baselineStartDate: "Data de início da linha de base", baselineEndDate: "Linha de Base End Date" },
//string to display in dialog editDialogTexts: { addFormTitle: "Adicionar formulário Título", editFormTitle: "Editar Formulário Título", saveButton: "Salvar Botão", cancelButton: "Botão Cancelar" } } </script> |
We have also prepared a sample based on this for your reference. Please find the sample in the following location:
At present in DELETE button of Edit dialog box, we are facing culture issue and hence we have logged an issue report on this. Also we have created a support incident under your account to track the status of this issue.
Please log on to our support website to check for further updates.
https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents
Please let us know if you require further assistance on this.
Regards,
John. R
Hi Otto,
Thanks for using Syncfusion products.
We can change the localization of Gantt chart, with the help of “Locale” property along with corresponding "columnHeaderTexts" and “editDialogTexts” culture fileds.
Please refer the below code snippets for more details.
Code snippets:
@(Html.EJ().Gantt("Gantt").
//...
.Locale("pt-BR")
.Datasource(ViewBag.dataSource)
)
@(Html.EJ().ScriptManager())
<script>
ej.Gantt.localization["pt-BR"] = {
//string to display with dataSource contains 0 objects
emptyRecord: "registro vazio",
//headerText to be displayed in gridtree
columnHeaderTexts: {
taskId: "tarefa Id",
taskName: "Nome da Tarefa",
startDate: "Data De Início",
endDate: "Data de Término",
resourceInfo: "Informações de Recursos",
duration: "duração",
status: "estado",
predecessor: "antecessor",
baselineStartDate: "Data de início da linha de base",
baselineEndDate: "Linha de Base End Date"
},
//string to display in dialog
editDialogTexts: {
addFormTitle: "Adicionar formulário Título",
editFormTitle: "Editar Formulário Título",
saveButton: "Salvar Botão",
cancelButton: "Botão Cancelar"
}
}
</script>
We have also prepared a sample based on this for your reference. Please find the sample in the following location:
At present in DELETE button of Edit dialog box, we are facing culture issue and hence we have logged an issue report on this. Also we have created a support incident under your account to track the status of this issue.
Please log on to our support website to check for further updates.
https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents
Please let us know if you require further assistance on this.
Regards,
John. R
Hi Otto,
We regret for the inconvenience caused.
We were able to reproduce the issue in localization of predecessor fields and we have confirmed this as bug and logged a report on this. Also we have created a support incident under your account to track the status of this issue.
Please log on to our support website to check for further updates.
https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents
Please let us know if you require further assistance on this.
Regards,
John. R
<head runat="server">
//...
<script src="Scripts/Culture/ej.culture.es-ES.js"></script>
<script src="Scripts/Culture/ej.localetexts.es-ES.js"></script>
</head>
<body>
<ej:Gantt ID="GanttContainer" ClientIDMode="Static" runat="server" Locale="es-ES">
</ej:Gantt>
</body>
|