Our state of the art Gantt chart
I was trying to implement the localization of the application in a different language. But there is some error that occurs while registering and applying the language code and locale file in LocalManager lib.
Error: TypeError: Cannot read property 'abbrev' of undefined
at Function.getShortNameOfUnit (gantt.lite.umd.js:35641)
please help ASAP.
Thank you
We have an Angular Localization demo and although it is not for Gantt but Scheduler, the approach is exactly same. Try to use it please and if you are still in trouble post please a showcase that we could run, investigate and debug.
Could you please provide the source code for the same? So that I can develop own locale file. @saki
I am getting the following error while registering ( with LocaleManager.registerLocale() function) the English language and own locale file.
Error: SubKey "EventEdit.Repeat" doesn't exist in locale.
Now I am getting the following error while using my own locale file for localization.
Can I use my own locale language for localization in bryntum Gantt?
-
Attachments
-
- localization-error.PNG (58 KiB) Viewed 909 times
could you please provide me a sample locale file? so that I can get an idea about the structure of the locale file.
You can find them in examples/localization/locales
folder.
- Screen Shot 2021-05-31 at 11.38.13.png (70.54 KiB) Viewed 899 times