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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to change the localization in Gantt

Gantt can be localized to any specific locale by setting the respective locale code like en-US, fr-FR etc., to the locale property in Gantt. User must also need to refer the culture file specific to the defined locale from the Essential studio installed location to localize the date, time, currency and other formats. Gantt will be displayed with en-US’ localization by default.

The culture file can be referred from the below installed location.


Gantt UI also contains texts in the dialog popup, toolbar and tooltips which needs to be localized. To localize these texts, you need to define the localized texts in the project or by referring the predefined locale text files from the Essential studio installed location.

 

The locale text file can be referred from the below installed location.

The localized texts can be defined in Gantt by the following ways,

To Refer the corresponding locale text file from the ES installed location. [OR]

To define the localized texts in the project.

Please refer the below code snippets for more details.

Referring predefined locale text files

 

Defining the localized texts


The following output is displayed for the above code example.

Sample link

A sample to localize the Gantt control is available in the following link, Sample

 

 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
7823 07/06/2017 07/06/2017 JavaScript ejGantt
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon