New translation problem with Mini Calendar popup - Printable Version +- CoreBOSBB (https://discussions.corebos.org) +-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17) +--- Forum: Administrator Support (https://discussions.corebos.org/forumdisplay.php?fid=8) +--- Thread: New translation problem with Mini Calendar popup (/showthread.php?tid=942) |
New translation problem with Mini Calendar popup - addady2 - 03-13-2018 Hello, I'm trying to add new language from old Vtiger 5.4. "he_he" All work fine except that the Mini Calendar windows not popup. The JS fail on: Quote:Uncaught TypeError: Cannot read property 'DEF_DATE_FORMAT' of undefined I suspect one of those files missing some definitions:
to check it, I override the files using:
Then clear the browser cache, history and reload. It didn't solve the problem. Do you have any direction? Thanks RE: New translation problem with Mini Calendar popup - joebordes - 03-13-2018 It is looking for this entry in the jscalendar/lang/calendar-he.js file: https://github.com/tsolucio/corebos/blob/master/jscalendar/lang/calendar-en.js#L119 compare your -he file with the -en and add any missing entries, reload and try again Let me know how it goes. I will try to help RE: New translation problem with Mini Calendar popup - addady2 - 03-13-2018 (03-13-2018, 06:23 PM)joebordes Wrote: It is looking for this entry in the jscalendar/lang/calendar-he.js file: Thank you its working! Why the file "jscalendar/lang/calendar-en.js" is not named like this "jscalendar/lang/calendar-en_us.js" ? How it find the XX in the name calendar-XX.js ? RE: New translation problem with Mini Calendar popup - joebordes - 03-13-2018 jscalendar is a third party library we import and use "as is", so we try not to change it much. You can find those two letters in your main language file: https://github.com/tsolucio/corebos/blob/master/include/language/en_us.lang.php#L514 |