setLocale("kr") error

image

hi.
i some problem use to lightBox…
I don’t know why it looks undefined.

help me…

i’m only use code : gantt.i18n.setLcale(“kr”);

Hello Jae,
After changing the locale, you need to reinitialize Gantt:
https://docs.dhtmlx.com/gantt/desktop__localization.html#activatingalocale
http://snippet.dhtmlx.com/5/9787b75e3

If you want to have a specific locale right after opening a page with Gantt, you need to set the locale before Gantt is initialized:
http://snippet.dhtmlx.com/5/a4663f919

1 Like