Both 【gantt.locale.labels.section_details = "Details"】 and 【gantt.i18n.setLocale("cn")】 cannot be effective at the same time

I need it all in Chinese, but it can’t work at the same time:


The link is here:
http://snippet.dhtmlx.com/5/c57626555

I’ve found out why. Only by putting<gantt.i18n.setLocale(“cn”)>before <gantt.locale.labels.section_taskName = “任务名称”>, can it take effect at the same time