When angular USES DHTMLX

How do I make gantt Chinese when I use angular

Hello Nick,
You need to add the following string to the gantt.component.ts file to enable Chinese locale:

import 'dhtmlx-gantt/codebase/locale/locale_cn';

Here is the demo:
https://files.dhtmlx.com/30d/98b3f430c5332c78574abc58d875fe15/angular7+locale-cn.zip

You can read more about adding a locale, in the following article:
https://docs.dhtmlx.com/gantt/desktop__localization.html

  • Hi, Ramil. Thank you so much for your answer