We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Localization not working - Cannot convert undefined or null to object

Thread ID:

Created:

Updated:

Platform:

Replies:

147997 Oct 1,2019 08:56 AM UTC Oct 9,2019 04:44 AM UTC Vue 3
loading
Tags: Schedule
Politzki Oliver
Asked On October 1, 2019 08:56 AM UTC

Hello,

I've tried localization on the Schedule-Control. I set the locale-Attribute to 'de' but I get the following errors:

  1. Object
    1. info: "mounted hook"
    2. message: "Cannot convert undefined or null to object"
    3. name: "TypeError"
    4. stack: Array(9)
      1. 0: StackFrame
        1. columnNumber: 0
        2. fileName: "[...some path to my project...]/node_modules/@syncfusion/ej2-schedule/src/schedule/base/schedule.js"
        3. functionName: "Object.keys"
        4. lineNumber: 404
      2. 1: StackFrame
        1. columnNumber: 0
        2. fileName: "[...some path to my project...]/node_modules/@syncfusion/ej2-schedule/src/schedule/renderer/view-base.js"
        3. functionName: "getDayName"
        4. lineNumber: 10
      3. 2: StackFrame
        1. columnNumber: 67
        2. fileName: "[...some path to my project...]/node_modules/@syncfusion/ej2-schedule/src/schedule/renderer/vertical-view.js"
        3. functionName: "createElement"
        4. lineNumber: 310
      4. 3: StackFrame
        1. columnNumber: 0
        2. fileName: "[...some path to my project...]/node_modules/@syncfusion/ej2-schedule/src/schedule/renderer/vertical-view.js"
        3. functionName: "this.addAttributes"
        4. lineNumber: 493
      5. 4: StackFrame
        1. columnNumber: 0
        2. fileName: "[...some path to my project...]/node_modules/@syncfusion/ej2-schedule/src/schedule/renderer/vertical-view.js"
        3. functionName: "addClass"
        4. lineNumber: 461
      6. 5: StackFrame
        1. columnNumber: 0
        2. fileName: "[...some path to my project...]/node_modules/@syncfusion/ej2-schedule/src/schedule/renderer/vertical-view.js"
        3. functionName: "renderHeader"
        4. lineNumber: 379
      7. 6: StackFrame
        1. columnNumber: 0
        2. fileName: "[...some path to my project...]/node_modules/@syncfusion/ej2-schedule/src/schedule/renderer/vertical-view.js"
        3. functionName: "addClass"
        4. lineNumber: 368
      8. 7: StackFrame
        1. columnNumber: 0
        2. fileName: "[...some path to my project...]/node_modules/@syncfusion/ej2-schedule/src/schedule/renderer/renderer.js"
        3. functionName: "this.parent.element.classList.contains"
        4. lineNumber: 101
      9. 8: StackFrame
        1. columnNumber: 0
        2. fileName: "[...some path to my project...]/node_modules/@syncfusion/ej2-schedule/src/schedule/renderer/renderer.js"
        3. functionName: "render"
        4. lineNumber: 18

  2. And in the browser it looks like this:


If I change the locale-Attribute back to 'en' everything works fine.

Best regards,
Oliver

Hareesh Balasubramanian [Syncfusion]
Replied On October 2, 2019 11:21 AM UTC

Hi Oliver, 

Greetings from Syncfusion Support. 

We have prepared a locale sample with de culture and the sample can be downloaded from the following link, 

Kindly try the above sample, if you have any concerns please revert us back for further assistance. 

Regards, 
Hareesh 


Politzki Oliver
Replied On October 8, 2019 06:39 AM UTC

Hi there,

I don't know why, but with the newest version 17.3.14 it works.

Best regards,
Oliver



Karthigeyan Krishnamurthi [Syncfusion]
Replied On October 9, 2019 04:44 AM UTC

 
We are happy to hear that everything is fine in latest version 😊 
 
Regards, 
Karthi 
 
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon